aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/ICML.hs
AgeCommit message (Collapse)AuthorFilesLines
2015-06-09Fix InDesign crash with URLs containing more than one colon charactergohai1-2/+9
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.
2015-05-11Fix image URIs in ICML output (v2)gohai1-1/+3
InDesign expects LinkResourceURI to start with "file:" for local filenames, and won't render/link the image without.
2015-02-17ICML writer: Better handling of raw blocks and inlines.John MacFarlane1-4/+6
Previously these were always escaped and printed verbatim. Now they are ignored unless the format is "icml", in which case they are passed through unescaped. Closes #1951.
2015-01-05ghc 7.10.1 RC1 requires FlexibleContexts ↵Mark Wright1-1/+1
https://ghc.haskell.org/trac/ghc/wiki/Migration/7.10#Inferredtype-signaturesnowmayrequiretoenableFlexibleContextsGADTsorTypeFamilies
2014-11-30ICML writer: Don't force all citations into footnotes.John MacFarlane1-1/+1
2014-07-12Removed space at ends of lines in source.John MacFarlane1-4/+4
2014-02-28InDesign ICML Writermb211-0/+525