diff options
Diffstat (limited to 'helpers/default.pl')
-rw-r--r-- | helpers/default.pl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/helpers/default.pl b/helpers/default.pl index 01dfa64ed..f260cd5d3 100644 --- a/helpers/default.pl +++ b/helpers/default.pl @@ -498,7 +498,11 @@ sub variable { sub processDescription { local ($_) = @_; - + + # handle HTML markup issues. + s/</</g; + s/>/>/g; + s/^\s+//; # Remove whitespace from beginning s/\s+$/\n/; # Remove whitespace from end s/\n\n/<p>\n/g; # Replace multiple CR's with paragraph markers |