diff options
author | gohai <gottfried.haider@gmail.com> | 2015-06-09 15:46:23 +0200 |
---|---|---|
committer | gohai <gottfried.haider@gmail.com> | 2015-06-09 15:46:23 +0200 |
commit | f51757bd16881b6429cccb115f36d595b80826a7 (patch) | |
tree | f1f8c2e5cd57395d0100a3c2a88a3d668bcab4fe /src/Text/Pandoc/Writers/AsciiDoc.hs | |
parent | 70b76bb6337a847976fbc54331b7eee521c45ec0 (diff) | |
download | pandoc-f51757bd16881b6429cccb115f36d595b80826a7.tar.gz |
Fix InDesign crash with URLs containing more than one colon character
Colons are valid characters in URLs, and used e.g. by the Internet Archive's Wayback Machine - a popular resource amongst researchers. When InDesign encounters a HyperlinkURLDestination with more than one colon character in it, it crashes when placing the ICML. (This was tested against CS6.) The IDML specification hints at this requirement in section 6.4.1: "The colon apppears in the Name attribute of the style, but is encoded as %3a when it appears in the Self attribute". Follow this example for all colon characters in URLs.
Diffstat (limited to 'src/Text/Pandoc/Writers/AsciiDoc.hs')
0 files changed, 0 insertions, 0 deletions