summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rwxr-xr-xwww/txt2html.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/txt2html.pl b/www/txt2html.pl
index 8e88a4c1fa..43c7fffa27 100755
--- a/www/txt2html.pl
+++ b/www/txt2html.pl
@@ -3,6 +3,9 @@
3# this is really a faq2html and should only be used for this purpose 3# this is really a faq2html and should only be used for this purpose
4 4
5sub fixline { 5sub fixline {
6 # change blank lines to &nbsp
7 $_ =~ s/^\s*$/\ \n/g;
8
6 $_ =~ s/\</&lt;/g; 9 $_ =~ s/\</&lt;/g;
7 $_ =~ s/\>/&gt;/g; 10 $_ =~ s/\>/&gt;/g;
8 11