Fix extra newline/paragraphs issue with .RenderShortcodes

Fixes #13051
This commit is contained in:
Bjørn Erik Pedersen
2024-11-16 09:56:25 +01:00
parent 2c54c32986
commit d4de780edc
3 changed files with 88 additions and 7 deletions

View File

@@ -575,7 +575,7 @@ sc3_begin|{{ .Inner }}|sc3_end
// Issue #7332
"<span>:x:\n</span>",
// Issue #11587
"<p>&#x2714;&#xfe0f;\n</p>",
"<p>&#x2714;&#xfe0f;</p>",
// Should not be converted to emoji
"sc1_begin|:smiley:|sc1_end",
// Should be converted to emoji