aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-11-20 23:43:21 -0500
committerJohn MacFarlane <jgm@berkeley.edu>2018-11-20 23:43:21 -0500
commitd333c283cc7149462491e97e95d3ccfaefab84c2 (patch)
tree694c50ae32258b4e1abae6a64bbfcd6ff3d5dd62 /data
parent2d265917b0e9efdd065349032befb96daa021503 (diff)
downloadpandoc-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 'data')
0 files changed, 0 insertions, 0 deletions