From c4fee1a35bb1c80c0d9ef55245f0296de7a87d32 Mon Sep 17 00:00:00 2001 From: Daniele Date: Wed, 29 Jan 2025 16:43:12 +0100 Subject: [PATCH] now the div are span for the kw in the listings (#1190) Co-authored-by: Daniele Rapetti <5535617+Iximiel@users.noreply.github.com> --- src/cltools/GenExample.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cltools/GenExample.cpp b/src/cltools/GenExample.cpp index 1c0bfad74c..578fce274c 100644 --- a/src/cltools/GenExample.cpp +++ b/src/cltools/GenExample.cpp @@ -404,7 +404,7 @@ void GenExample::printExampleInput( const std::vector > std::size_t eq=interpreted[i].find_first_of("="); if( eq!=std::string::npos ) { std::string keyword=interpreted[i].substr(0,eq), rest=interpreted[i].substr(eq+1); - ofile<<"
"<"<
"; + ofile<<""<"<"; if( rest=="__FILL__" ) { if( status!="incomplete" ) { error("found __FILL__ statement but status is " + status); @@ -447,7 +447,7 @@ void GenExample::printExampleInput( const std::vector > ofile<<" "; } else if( interpreted[i]!="@newline" && interpreted[i]!="..." ) { myinputline += interpreted[i] + " "; - ofile<<"
"<"<
"; + ofile<<""<"< "; } else if( interpreted[i]=="..." ) { ofile<<"..."; }