From: Paul Hänsch
Date: Tue, 29 Aug 2023 22:38:02 +0000 (+0200)
Subject: Merge commit 'fb88510e7c955308c1321678f97a8f7d47b92efd'
X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=116a9fbba5874eec7efb4f2253844e8158fffde9;hp=99c4ddf7db703a805b267f9136becde2a064b28e;p=shellwiki
Merge commit 'fb88510e7c955308c1321678f97a8f7d47b92efd'
---
diff --git a/cgilite/markdown.awk b/cgilite/markdown.awk
index 91a7956..5915f01 100755
--- a/cgilite/markdown.awk
+++ b/cgilite/markdown.awk
@@ -763,7 +763,7 @@ function _list (block, mark, LOCAL, len, st, text, indent, task) {
match( text, /^\[[xX]\]/) ? "" : "";
sub(/^\[[-? /xX]\]/, "", text);
- text = _block( text );
+ text = _nblock( text );
if (match( text, "^(
]|[^p]|<[^/]|[^<])*
\n$" ))
gsub( "(^|
\n$)", "", text);
@@ -786,7 +786,7 @@ function _dlist (block, LOCAL, len, st, text, indent, p) {
sub( "^ ? ? ?:(\t| +)", "", text);
gsub( "(^|\n) {0," indent "}", "\n", text );
- text = _block(text);
+ text = _nblock(text);
if (match( text, "^(
]|[^p]|<[^/]|[^<])*\n$" ))
gsub( "(^|
\n$)", "", text);