Muse writer: Do not reflow directives (#3614)
Directives at the beginning of documents cannot span multiple lines so they must not be reflown.
This commit is contained in:
parent
24ef672132
commit
e97e9cd6a3
1 changed files with 2 additions and 2 deletions
|
@ -85,8 +85,8 @@ pandocToMuse (Pandoc meta blocks) = do
|
|||
then Just $ writerColumns opts
|
||||
else Nothing
|
||||
metadata <- metaToJSON opts
|
||||
(fmap (render colwidth) . blockListToMuse)
|
||||
(fmap (render colwidth) . inlineListToMuse)
|
||||
(fmap (render Nothing) . blockListToMuse)
|
||||
(fmap (render Nothing) . inlineListToMuse)
|
||||
meta
|
||||
body <- blockListToMuse blocks
|
||||
notes <- liftM (reverse . stNotes) get >>= notesToMuse
|
||||
|
|
Loading…
Add table
Reference in a new issue