summaryrefslogtreecommitdiff
path: root/http/bin/gmi2upphtml
diff options
context:
space:
mode:
Diffstat (limited to 'http/bin/gmi2upphtml')
-rwxr-xr-xhttp/bin/gmi2upphtml12
1 files changed, 6 insertions, 6 deletions
diff --git a/http/bin/gmi2upphtml b/http/bin/gmi2upphtml
index 0d16c56..8638d0a 100755
--- a/http/bin/gmi2upphtml
+++ b/http/bin/gmi2upphtml
@@ -103,6 +103,12 @@ pp \"\${SHARE}\"/components/meta.upphtml
while read line
do
+ if [ $is_in_preformatted_block -ne 0 ]
+ then
+ echo "$(escape_upphtml "${line}")"
+ continue
+ fi
+
if [ "$(echo $line | sed "s/[[:space:]]//g")" = "" ]
then
continue
@@ -178,12 +184,6 @@ do
continue
fi
- if [ $is_in_preformatted_block -ne 0 ]
- then
- echo "$(escape_upphtml "${line}")"
- continue
- fi
-
close_all_open_blocks
echo "<p>$(escape_upphtml "${line}")</p>"
done