Skip to content

Commit 431e2b7

Browse files
committed
pandoc-quotes: use text to access Str element content
Pandoc 2.15 changed the marshalling method; the undocumented `.c` field no longer gives access to the text content.
1 parent 6ab95da commit 431e2b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

latex-hyphen/latex-hyphen.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function split_hyphen(inputstr)
6464
end
6565

6666
function Str(elem)
67-
local parts = split_hyphen(elem.c)
67+
local parts = split_hyphen(elem.text)
6868
-- if not more than one part, string contains no hyphen, return unchanged.
6969
if #parts <= 1 then
7070
return nil

0 commit comments

Comments
 (0)