summaryrefslogtreecommitdiff
path: root/devtools
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2009-05-24 18:44:42 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2009-05-24 18:44:42 +0000
commit937c6e3fc59dbf63bbe31b9dcd4b03cd5ae5e3b7 (patch)
treee41c8b8ee0a5ab4d525aff0fc7c8e898839a6aba /devtools
parentc95df7db916bedb9d859676a54ee7792eee2d228 (diff)
downloadMPC-937c6e3fc59dbf63bbe31b9dcd4b03cd5ae5e3b7.tar.gz
ChangeLogTag: Sun May 24 18:43:56 UTC 2009 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'devtools')
-rwxr-xr-xdevtools/document_template.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/devtools/document_template.pl b/devtools/document_template.pl
index 277a5b37..bd143511 100755
--- a/devtools/document_template.pl
+++ b/devtools/document_template.pl
@@ -118,6 +118,11 @@ sub display_template {
$def .= StringProcessor::process_special(undef, $ikey);
}
}
+
+ ## Convert < and > to html friendly codes
+ $desc =~ s/</&lt;/g;
+ $desc =~ s/>/&gt;/g;
+
print $fh " <tr>\n",
" <td>$key</td>\n",
" <td>", (defined $def ? $def : '&nbsp'), "</td>\n",