summaryrefslogtreecommitdiff
path: root/helpers/default.pl
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/default.pl')
-rw-r--r--helpers/default.pl6
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/</&lt;/g;
+ s/>/&gt;/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