gc-da11yn / gc-da11yn.github.io

Digital Accessibility Toolkit - Boîte à outils d'accessibilité numérique
https://a11y.canada.ca/en/
MIT License
31 stars 33 forks source link

[BUG] HTML Minify - problems with spacing #615

Closed shawnthompson closed 4 months ago

shawnthompson commented 4 months ago

Describe the bug

Currently we are using html-minifier to minify our HTML code but it's causing problems with some of the spacing in the content.

Example, as reported in #599:

Would like the minify to remove blank lines and indent properly but not minify the HTML completely

Version of gc-da11yn you are using

No response

OS or Device: (e.g. iOS)

No response

Browser (e.g. Chrome, Safari)

No response

Version (e.g. 22)

No response

Additional context

No response