diff options
author | hinder <hinder@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2011-10-19 18:45:23 +0000 |
---|---|---|
committer | hinder <hinder@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2011-10-19 18:45:23 +0000 |
commit | 73345357d588087b4e30af489755731712e7f74a (patch) | |
tree | 3ea94cafba992fa68d7a07f03f42fc0e6f6262e7 /lib/sbin | |
parent | c237010ae756bbca5f858f86251d7d53408ccd58 (diff) |
ThornUtils.pm: Escape # character for LaTeX
Some parameter description strings contain "#" to mean "number".
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4745 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/sbin')
-rw-r--r-- | lib/sbin/ThornUtils.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sbin/ThornUtils.pm b/lib/sbin/ThornUtils.pm index 91391cc4..f469d8c3 100644 --- a/lib/sbin/ThornUtils.pm +++ b/lib/sbin/ThornUtils.pm @@ -400,7 +400,8 @@ sub CleanForLatex $char eq '_' or $char eq '^' or $char eq '&' or - $char eq '%') + $char eq '%' or + $char eq '#') { $outval .= '\\' . $char; } |