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 @@
# this is really a faq2html and should only be used for this purpose
sub fixline {
+ # change blank lines to &nbsp
+ $_ =~ s/^\s*$/\ \n/g;
+
$_ =~ s/\</&lt;/g;
$_ =~ s/\>/&gt;/g;