From ab81903d556f080bda700f0e0187d23ae774231e Mon Sep 17 00:00:00 2001
From: Victor Poughon <victor.poughon@cnes.fr>
Date: Mon, 25 Mar 2019 15:08:36 +0100
Subject: [PATCH] DOC: use double quotes for string parameter examples

---
 Modules/Applications/AppMathParser/app/otbBandMath.cxx   | 2 +-
 Modules/Applications/AppMathParserX/app/otbBandMathX.cxx | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Modules/Applications/AppMathParser/app/otbBandMath.cxx b/Modules/Applications/AppMathParser/app/otbBandMath.cxx
index d62bd2eefd..38edf77197 100644
--- a/Modules/Applications/AppMathParser/app/otbBandMath.cxx
+++ b/Modules/Applications/AppMathParser/app/otbBandMath.cxx
@@ -127,7 +127,7 @@ private:
       "apTvUtBandMathOutput.tif"
     );
     SetDocExampleParameterValue(
-      "exp", "'cos( im1b1 ) > cos( im2b1 ) ? im3b1 : im3b2'"
+      "exp", "\"cos( im1b1 ) > cos( im2b1 ) ? im3b1 : im3b2\""
     );
 
     SetOfficialDocLink();
diff --git a/Modules/Applications/AppMathParserX/app/otbBandMathX.cxx b/Modules/Applications/AppMathParserX/app/otbBandMathX.cxx
index be5f92421b..bc8e637b43 100644
--- a/Modules/Applications/AppMathParserX/app/otbBandMathX.cxx
+++ b/Modules/Applications/AppMathParserX/app/otbBandMathX.cxx
@@ -238,7 +238,7 @@ private:
     SetDocExampleParameterValue( "out", "apTvUtBandMathOutput.tif");
     SetDocExampleParameterValue(
       "exp",
-      "'cos( im1b1 ) + im2b1 * im3b1 - im3b2 + ndvi( im3b3, im3b4 )'"
+      "\"cos( im1b1 ) + im2b1 * im3b1 - im3b2 + ndvi( im3b3, im3b4 )\""
     );
 
     SetOfficialDocLink();
-- 
GitLab