diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-09-26 21:48:08 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-09-26 21:56:21 -0700 |
commit | df57d0930bf4c6b369b1cd35a98bd8b7238da0d1 (patch) | |
tree | 056ae4a77e907e9a5c057998fc0ab0f58e759d25 /src/Text/Pandoc/Lua/Init.hs | |
parent | 9b23b738cb28df357868fc0febff18e9c7c86b95 (diff) | |
download | pandoc-df57d0930bf4c6b369b1cd35a98bd8b7238da0d1.tar.gz |
RST writer: properly handle anchors to ids...
with spaces or leading underscore.
In this cases we need the quoted form, e.g.
```
.. _`foo bar`:
.. _`_foo`:
```
Side note: rST will "normalize" these identifiers anyway,
ignoring the underscore:
https://docutils.sourceforge.io/docs/ref/rst/directives.html#identifier-normalization
Closes #7593.
Diffstat (limited to 'src/Text/Pandoc/Lua/Init.hs')
0 files changed, 0 insertions, 0 deletions