Lua: fix pandoc.utils.stringify regression

The `pandoc.utils.stringify` function returned empty strings when called
with a string argument.
This commit is contained in:
Albert Krewinkel 2021-10-27 20:56:30 +02:00
parent 2910f9f3f8
commit b990ca3c4c
No known key found for this signature in database
GPG key ID: 388DC0B21F631124

View file

@ -185,10 +185,10 @@ peekAstElement = retrieving "pandoc AST element" . choice
[ (fmap PandocElement . peekPandoc)
, (fmap InlineElement . peekInline)
, (fmap BlockElement . peekBlock)
, (fmap MetaValueElement . peekMetaValue)
, (fmap AttrElement . peekAttr)
, (fmap ListAttributesElement . peekListAttributes)
, (fmap MetaElement . peekMeta)
, (fmap MetaValueElement . peekMetaValue)
]
-- | Converts an old/simple table into a normal table block element.