diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-11-10 10:34:46 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-11-10 10:34:46 -0800 |
commit | 7d298d13d98a1f9f6a9fc7596a0bf122499134f0 (patch) | |
tree | a3290cb6df70d12e2b3ef871a6bf89bae0dbcf56 /src/Text/Pandoc/Readers | |
parent | 7d01887ddac1e0f9169037cd4c01ab6f2ed7ae3a (diff) | |
download | pandoc-7d298d13d98a1f9f6a9fc7596a0bf122499134f0.tar.gz |
Remove redundant bracket.
Diffstat (limited to 'src/Text/Pandoc/Readers')
-rw-r--r-- | src/Text/Pandoc/Readers/Metadata.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Metadata.hs b/src/Text/Pandoc/Readers/Metadata.hs index 9bf96f3c4..a64b130e5 100644 --- a/src/Text/Pandoc/Readers/Metadata.hs +++ b/src/Text/Pandoc/Readers/Metadata.hs @@ -112,7 +112,7 @@ normalizeMetaValue pMetaValue x = -- Note: a standard quoted or unquoted YAML value will -- not end in a newline, but a "block" set off with -- `|` 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") else parseFromString' asInlines x where asInlines = fmap b2i <$> pMetaValue |