]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix generation of the tutorial graph. 14165/head
authorDavid Wells <drwells@email.unc.edu>
Thu, 28 Jul 2022 13:35:10 +0000 (09:35 -0400)
committerDavid Wells <drwells@email.unc.edu>
Thu, 28 Jul 2022 13:35:10 +0000 (09:35 -0400)
A new code gallery program has quotes which we need to escape in its tooltip.

doc/doxygen/scripts/steps.pl

index 55a4ebcfc64acb87f8c7bf03b6fe194e9cd730b5..8bf6687754efb92c8f474ec0bddf61ddae33a0c6 100644 (file)
@@ -84,6 +84,8 @@ foreach $step (@ARGV)
     my $tooltip = <TF>;
     close TF;
     chop $tooltip;
+    # we need to escape any double-quotes here before putting it in the dot file
+    $tooltip =~ s/"/\\"/g;
 
     # read first line of 'kind' file if it is a step;
     # otherwise assume it is a code gallery program. for

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.