andrewrk / juice

Juice inlines CSS stylesheets into your HTML source.
MIT License
60 stars 13 forks source link

Option to preserve self closing tags #14

Closed bensreed closed 3 years ago

bensreed commented 10 years ago

I'm using juice via gulp-inline-css and found that when inlining it replaces <br /> with <br>. Same with all self closing tags — img, meta, etc. Is there any way to allow this option or set as default?

Most email frameworks and kickstarts use XHTML 1.0 strict and this would help everything validate.

andrewrk commented 10 years ago

This module is actively maintained but not actively developed. Which means, issues don't get fixed automatically for you, but if you make a pull request I will look at it and give feedback, merge, release, etc.

bensreed commented 10 years ago

Fair enough. Thanks for the reply.