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 | |
parent | c95df7db916bedb9d859676a54ee7792eee2d228 (diff) | |
download | MPC-937c6e3fc59dbf63bbe31b9dcd4b03cd5ae5e3b7.tar.gz |
ChangeLogTag: Sun May 24 18:43:56 UTC 2009 Chad Elliott <elliott_c@ociweb.com>
-rw-r--r-- | ChangeLog | 7 | ||||
-rwxr-xr-x | devtools/document_template.pl | 5 |
2 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,10 @@ +Sun May 24 18:43:56 UTC 2009 Chad Elliott <elliott_c@ociweb.com> + + * devtools/document_template.pl: + + Added code to convert less than and greater than signs into html + friendly codes. + Fri May 22 07:51:05 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl> * templates/vc8platforms.mpt: 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", |