diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-11-11 09:05:35 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-11-11 09:08:52 -0800 |
commit | 741b1f7fb4f974a0fc2a9abe410007b27078e129 (patch) | |
tree | 454e89a6197338a112eb1953b80446f1910c150c /src/Text/Pandoc/Class.hs | |
parent | bf2eb4f288df5d5b5e054cdc4ffa3b3c4dd187fa (diff) | |
download | pandoc-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/Class.hs')
0 files changed, 0 insertions, 0 deletions