philhawksworth / netlify-plugin-minify-html

26 stars 8 forks source link

Spaces in markdown #13

Closed vedicastrology123 closed 3 years ago

vedicastrology123 commented 3 years ago

The space around links in markdown are removed.

Go to this is a link page.

The space after 'Go to' is removed and before 'page' - in the html generated.

xplosionmind commented 3 years ago

Same here. Check this page

shanerobinson commented 3 years ago

Same here. Was also reported on the html-minifier repo 2 days ago: https://github.com/kangax/html-minifier/issues/1082

DavidBiddle commented 3 years ago

I believe this is the same underlying issue as #8 - configuring your netlify.toml to set collapseInlineTagWhitespace = false should resolve it. If you don't have a netlify.toml there's a good example config on that issue.