minicomp / wax

Jekyll based framework for minimal exhibitions with IIIF 🐝
https://minicomp.github.io/wax/
MIT License
161 stars 84 forks source link

Apostrophes in _qatar object md label become unescaped single quotes in index.html #95

Closed pbinkley closed 3 years ago

pbinkley commented 3 years ago

In _qatar/obj1.md, we have label: The Dala'il al-Khayrat of al-Juzuli - note the apostrophe in Dala'il. This results in an unescaped quote character in an alt attribute in index.html:

    ...  alt='The Dala'il al-Khayrat of al-Juzuli'/> ...

Since the alt attribute is delimited with single quotes, this is invalid markup (and breaks XHTML).

Presumably this needs to be fixed in wax_tasks but I haven't traced it upstream yet.