Muse writer: remove empty Str from the beginning of inline lists during normalization
This commit is contained in:
parent
1b1b6f02d5
commit
39b31ef3cb
1 changed files with 2 additions and 0 deletions
|
@ -301,6 +301,8 @@ preprocessInlineList (x:xs) = (x:) <$> preprocessInlineList xs
|
|||
preprocessInlineList [] = return []
|
||||
|
||||
normalizeInlineList :: [Inline] -> [Inline]
|
||||
normalizeInlineList (Str "" : xs)
|
||||
= normalizeInlineList xs
|
||||
normalizeInlineList (x : Str "" : xs)
|
||||
= normalizeInlineList (x:xs)
|
||||
normalizeInlineList (Str x1 : Str x2 : xs)
|
||||
|
|
Loading…
Add table
Reference in a new issue