diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-11-20 23:43:21 -0500 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-11-20 23:43:21 -0500 |
commit | d333c283cc7149462491e97e95d3ccfaefab84c2 (patch) | |
tree | 694c50ae32258b4e1abae6a64bbfcd6ff3d5dd62 /test/odt/markdown/imageWithCaption.md | |
parent | 2d265917b0e9efdd065349032befb96daa021503 (diff) | |
download | pandoc-d333c283cc7149462491e97e95d3ccfaefab84c2.tar.gz |
Docx writer: Fix bookmarks to headers with long titles.
Word has a 40 character limit for bookmark names. In
addition, bookmarks must begin with a letter. Since
pandoc's auto-generated identifiers may not respect
these constraints, some internal links did not work.
With this change, pandoc uses a bookmark name based
on the SHA1 hash of the identifier when the identifier
isn't a legal bookmark name.
Closes #5091.
Diffstat (limited to 'test/odt/markdown/imageWithCaption.md')
0 files changed, 0 insertions, 0 deletions