Email-builder / grunt-email-builder

Build Emails from HTML / CSS code in grunt
Other
94 stars 14 forks source link

changing tags... #44

Open simeydotme opened 9 years ago

simeydotme commented 9 years ago

I'm using this on JSP files, and it is changing my jsp-tags with uppercase characters to lowercase. I wonder is there a way to turn off the tag-closing (nightmare in jsp, but we're working around it) and tag-lowercasing features?

juice: {
   xmlMode: true/false
}

^^ appeared to do nothing.

Is there anyway to achieve this, I know it's not designed to work with .jsp files. If you're not willing to help support this, is there any chance you can point me in the direction of where this lower-casing is being applied, so I can fork the repo and modify it? :)

Regards, Simon.

jeremypeter commented 8 years ago

@simeydotme I believe this may have been solved with the latest release of email-builder-core: see this comment on how to use the cheerio options object. Let me know if this fixes your issue

simeydotme commented 8 years ago

Thanks, @jeremypeter, i will try it out and update this issue accordingly :)