diff options
| author | Amir Dekel <[email protected]> | 2022-06-19 19:52:56 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-06-19 19:52:56 +0200 |
| commit | 5fe154deb2456ea46202494ebafbd8cb194924be (patch) | |
| tree | c17a4fb07884a195ef88b57ceb0a26a3e47b691e /src | |
| parent | f39eeba35f85b46b80c73c6341c099a21caa38d5 (diff) | |
Org reader: Fix Post / Pre mixup when setting emphasis chars (#8134)
Diffstat (limited to 'src')
| -rw-r--r-- | src/Text/Pandoc/Readers/Org/Meta.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Org/Meta.hs b/src/Text/Pandoc/Readers/Org/Meta.hs index 934c97dc2..7ee4e1fcc 100644 --- a/src/Text/Pandoc/Readers/Org/Meta.hs +++ b/src/Text/Pandoc/Readers/Org/Meta.hs @@ -217,7 +217,7 @@ setSelectedTags tags st = setEmphasisPreChar :: Maybe [Char] -> OrgParserState -> OrgParserState setEmphasisPreChar csMb st = - let preChars = fromMaybe (orgStateEmphasisPostChars defaultOrgParserState) csMb + let preChars = fromMaybe (orgStateEmphasisPreChars defaultOrgParserState) csMb in st { orgStateEmphasisPreChars = preChars } setEmphasisPostChar :: Maybe [Char] -> OrgParserState -> OrgParserState |
