max-heller / mdbook-pandoc

A mdbook backend powered by Pandoc.
Apache License 2.0
107 stars 9 forks source link

fix: escape quotes within link titles #6

Closed max-heller closed 11 months ago

max-heller commented 11 months ago

Before, link titles that contained quotes would be rendered without their interior quotes escaped and preprocessing would turn

[link](dest "\"weird title\"")

into

[link](dest ""weird title"")

resulting in a broken link.

This was due to a bug in pulldown-cmark-to-cmark fixed in https://github.com/Byron/pulldown-cmark-to-cmark/pull/62 and released in version 11.0.2, so this PR bumps the version requirement.