Skip to content

Commit 4e2f882

Browse files
committed
Insert Raw when using includeText (since it is going in verbatim)
1 parent 8135d67 commit 4e2f882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resources/pandoc/datadir/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1396,7 +1396,7 @@ local function processTextDependency(dependency, meta)
13961396
if meta[textLoc] == nil then
13971397
meta[textLoc] = {}
13981398
end
1399-
meta[textLoc]:insert(rawText.text)
1399+
meta[textLoc]:insert(pandoc.RawBlock(FORMAT, rawText.text))
14001400
end
14011401

14021402
-- make the usePackage statement

0 commit comments

Comments
 (0)