Man reader: allow .SS to have blank contents.
This commit is contained in:
parent
bcfc66092a
commit
2843ee960f
1 changed files with 1 additions and 1 deletions
|
@ -419,7 +419,7 @@ parseHeader :: PandocMonad m => ManParser m Blocks
|
|||
parseHeader = do
|
||||
ControlLine name args _ <- mmacro "SH" <|> mmacro "SS"
|
||||
contents <- if null args
|
||||
then lineInl
|
||||
then option mempty lineInl
|
||||
else return $ mconcat $ intersperse B.space
|
||||
$ map linePartsToInlines args
|
||||
let lvl = if name == "SH" then 1 else 2
|
||||
|
|
Loading…
Add table
Reference in a new issue