Skip to content

Commit bdc92dd

Browse files
committed
protect inside of passthrough shortcodes from escaping
1 parent 892d56b commit bdc92dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resources/filters/quarto-pre/shortcodes.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ function transformShortcodeInlines(inlines)
237237
end
238238
end
239239
else
240-
tappend(accum, shortcodeInlines)
240+
accum:insert(pandoc.RawInline("markdown", inlinesToString(shortcodeInlines)))
241241
end
242242

243243
local suffix = el.text:sub(#kCloseShortcode + 1)

0 commit comments

Comments
 (0)