From bff59497009cfc9b30530be4e6583fde9208c373 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 30 Jul 2022 12:00:05 +0100 Subject: fix HTML inline processing for list elements --- lib/html.source.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/html.source.sh') 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 "
  • $(html::encode "${line/\* /}")
  • " + echo "
  • $(html::encode "${line/\* /}")
  • " | + html::process_inline else is_list=no echo "" @@ -110,7 +111,7 @@ html::fromgmi () { echo "
    " is_plain=no else - html::encode "$line" + html::encode "$line" | html::process_inline fi continue fi -- cgit v1.2.3