diff options
-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", |