v0.3.8.2
Linux: pandoc-crossref v0.3.8.2 git commit 4200fe5 (HEAD) built with Pandoc v2.11, pandoc-types v1.22 and GHC 8.10.2
Windows: pandoc-crossref v0.3.8.2 git commit 4200fe5 (HEAD) built with Pandoc v2.11, pandoc-types v1.22 and GHC 8.10.2
macOS: pandoc-crossref v0.3.8.2 git commit 4200fe5 (HEAD) built with Pandoc v2.11, pandoc-types v1.22 and GHC 8.10.2
Changelog
-
[Fix] Escape LaTeX caption attribute when taken from Markdown
Apparently, pandoc (up to 2.11) doesn't escape
caption
code block attribute for LaTeX when used with--listings
. This may be intentional, but when caption is defined in pandoc-crossref using div or table-style caption syntax, this can lead to inconsistencies. Hence, caption defined in Markdown (as opposed to as string in the attribute) is now escaped when outputting to LaTeX with--listings
enabled.