summaryrefslogtreecommitdiff
path: root/lib/html.source.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/html.source.sh')
-rw-r--r--lib/html.source.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/html.source.sh b/lib/html.source.sh
index c303d2e..ac604c9 100644
--- a/lib/html.source.sh
+++ b/lib/html.source.sh
@@ -98,7 +98,8 @@ html::fromgmi () {
while IFS='' read -r line; do
if [[ "$is_list" == yes ]]; then
if [[ "$line" == '* '* ]]; then
- echo "<li>$(html::encode "${line/\* /}")</li>"
+ echo "<li>$(html::encode "${line/\* /}")</li>" |
+ html::process_inline
else
is_list=no
echo "</ul>"
@@ -110,7 +111,7 @@ html::fromgmi () {
echo "</pre><br />"
is_plain=no
else
- html::encode "$line"
+ html::encode "$line" | html::process_inline
fi
continue
fi