Closed zkamvar closed 10 months ago
I was going through old issues and I realize this is a bug from {varnish}, not {sandpaper}. Specifically, this is caused by the Mustache templating escaping values.
So any place that contains {{forward_title}} or {{back_title}} needs to be changed to either include an ampersand or triple curlies (see https://mustache.github.io/mustache.5.html):
{{forward_title}}
{{back_title}}
https://github.com/carpentries/varnish/blob/b013dd85b88e654d78e4c6278cea19d699a2f94b/inst/pkgdown/templates/content-chapter.html#L22-L25
Originally posted by @zkamvar in https://github.com/carpentries/workbench/issues/71#issuecomment-1798956098
I was going through old issues and I realize this is a bug from {varnish}, not {sandpaper}. Specifically, this is caused by the Mustache templating escaping values.
So any place that contains
{{forward_title}}
or{{back_title}}
needs to be changed to either include an ampersand or triple curlies (see https://mustache.github.io/mustache.5.html):https://github.com/carpentries/varnish/blob/b013dd85b88e654d78e4c6278cea19d699a2f94b/inst/pkgdown/templates/content-chapter.html#L22-L25
Originally posted by @zkamvar in https://github.com/carpentries/workbench/issues/71#issuecomment-1798956098