diff options
author | elliott_c <ocielliottc@users.noreply.github.com> | 2009-05-24 18:44:42 +0000 |
---|---|---|
committer | elliott_c <ocielliottc@users.noreply.github.com> | 2009-05-24 18:44:42 +0000 |
commit | 937c6e3fc59dbf63bbe31b9dcd4b03cd5ae5e3b7 (patch) | |
tree | e41c8b8ee0a5ab4d525aff0fc7c8e898839a6aba /devtools | |
parent | c95df7db916bedb9d859676a54ee7792eee2d228 (diff) | |
download | MPC-937c6e3fc59dbf63bbe31b9dcd4b03cd5ae5e3b7.tar.gz |
ChangeLogTag: Sun May 24 18:43:56 UTC 2009 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'devtools')
-rwxr-xr-x | devtools/document_template.pl | 5 |
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/</</g; + $desc =~ s/>/>/g; + print $fh " <tr>\n", " <td>$key</td>\n", " <td>", (defined $def ? $def : ' '), "</td>\n", |