diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2001-07-03 10:34:00 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2001-07-03 10:34:00 +0000 |
commit | e4fb30cfa8ff030b72a92f5b736952c36daffb9f (patch) | |
tree | bd29c6fde6d5f2ea1ab775ff15e2d8a88bd31d3e /lib/sbin/ParamLatex.pl | |
parent | 7182812346ccf166d9c270469ec9536eb3b71782 (diff) |
Fix for a % in the default value
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2263 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/sbin/ParamLatex.pl')
-rw-r--r-- | lib/sbin/ParamLatex.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sbin/ParamLatex.pl b/lib/sbin/ParamLatex.pl index 9fa22fad..8531cfc7 100644 --- a/lib/sbin/ParamLatex.pl +++ b/lib/sbin/ParamLatex.pl @@ -382,7 +382,8 @@ sub LatexTableElement { my ($description) = $$table{"description"}; my ($default) = $$table{"default"}; $default =~ s/\_/\\\_/g; - + $default =~ s/%/\\%/g; + $name =~ s/\_/\\\_/g; $description =~ s/\_/\\\_/g; |