jrit / web-resource-inliner

Inlines img, script and link tags into the same file
MIT License
69 stars 30 forks source link

Ignoring a <style> tag doesn't work #5

Closed rbhalla closed 9 years ago

rbhalla commented 9 years ago

I'm trying to make sure some fonts are being included properly. They obviously can't be inlined and ideally I'll have it in the head under a <style /> tag.

The problem is the style tags seem to be parsed even with a data-inline-ignore attribute on the style tag.

Also just realised github doesn't escape their html correctly, typing in <style /> without the formatting actually broke this comment....

rbhalla commented 9 years ago

Bad question, juice was doing this, not this particular library.