diff options
| Commit | 26d11dc3d7c2f3df7ec0bd678448c6cde4544496 (patch) | |
|---|---|---|
| Author | 2025-03-03 15:03:01 +0200 | |
| Committer | 2025-03-03 15:03:01 +0200 | |
| Files | 580107b9ce9105ec1407430575d6ca19f90b11be /md-parser.awk | |
| csg-26d11dc3d7c2f3df7ec0bd678448c6cde4544496.tar csg-26d11dc3d7c2f3df7ec0bd678448c6cde4544496.tar.gz csg-26d11dc3d7c2f3df7ec0bd678448c6cde4544496.zip | ||
| Parent | af8acb8ce3ad4a04e3350d78fa81b88903b8e90a (diff) | |
fix(parser): Close paragraph in END
1 files changed, 3 insertions, 0 deletions
| -rw-r--r-- | md-parser.awk | 3 |
diff --git a/md-parser.awk b/md-parser.awk index 332a7b5..4d11db8 100644 --- a/md-parser.awk +++ b/md-parser.awk @@ -552,6 +552,9 @@ END { if (STATE_isset(STATE_DEFINITION_LIST)) { PNappnd("</dl>") } + if (STATE_isset(STATE_PARAGRAPH)) { + $0 = $0 "</p>" + } print P2 while (P1_repeats > 0) { |
