aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/CommonMark.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-11-11 09:05:35 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2019-11-11 09:08:52 -0800
commit741b1f7fb4f974a0fc2a9abe410007b27078e129 (patch)
tree454e89a6197338a112eb1953b80446f1910c150c /src/Text/Pandoc/Writers/CommonMark.hs
parentbf2eb4f288df5d5b5e054cdc4ffa3b3c4dd187fa (diff)
downloadpandoc-741b1f7fb4f974a0fc2a9abe410007b27078e129.tar.gz
Markdown reader: fix small super/subscript issue.
Superscripts and subscripts cannot contain spaces, but newlines were previously allowed (unintentionally). This led to bad interactions in some cases with footnotes. E.g. ``` foo^[note] bar^[note] ``` With this change newlines are also not allowed inside super/subscripts. Closes #5878.
Diffstat (limited to 'src/Text/Pandoc/Writers/CommonMark.hs')
0 files changed, 0 insertions, 0 deletions