Remove redundant bracket.
This commit is contained in:
parent
7d01887dda
commit
7d298d13d9
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ normalizeMetaValue pMetaValue x =
|
||||||
-- Note: a standard quoted or unquoted YAML value will
|
-- Note: a standard quoted or unquoted YAML value will
|
||||||
-- not end in a newline, but a "block" set off with
|
-- not end in a newline, but a "block" set off with
|
||||||
-- `|` or `>` will.
|
-- `|` or `>` will.
|
||||||
if "\n" `T.isSuffixOf` (T.dropWhileEnd isSpaceChar x) -- see #6823
|
if "\n" `T.isSuffixOf` T.dropWhileEnd isSpaceChar x -- see #6823
|
||||||
then parseFromString' pMetaValue (x <> "\n")
|
then parseFromString' pMetaValue (x <> "\n")
|
||||||
else parseFromString' asInlines x
|
else parseFromString' asInlines x
|
||||||
where asInlines = fmap b2i <$> pMetaValue
|
where asInlines = fmap b2i <$> pMetaValue
|
||||||
|
|
Loading…
Add table
Reference in a new issue