From 3a74c01d6f54d10e0bca6a76bb8c03a4f440f401 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 16 Mar 2006 12:45:53 +0000 Subject: [PATCH] Ein weiteres Sonderzeichen in LaTeX escapen. Fix fuer Bug 315. --- SL/Form.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SL/Form.pm b/SL/Form.pm index 6f6e78c3a..1c03e107f 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -1169,7 +1169,7 @@ sub format_string { '&', quotemeta('\n'), ' ', '"', '\$', '%', '_', '#', quotemeta('^'), - '{', '}', '<', '>', '£', "\r" + '{', '}', '<', '>', '£', "\r", '²' ] }, 'html' => { @@ -1195,6 +1195,7 @@ sub format_string { ' ' => '\newline ', '£' => '\pounds ', + '²' => '$^2$', "\r" => "" }); -- 2.20.1