jrit / web-resource-inliner

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

Make sure to strip the value of `data-inline(-ignore)` attributes if they exist #14

Closed dantman closed 8 years ago

dantman commented 8 years ago

Some html preprocessors like jade output data-inline as data-inline="data-inline" or data-inline="".

With the current regexps this results in things like <style =""> being left behind.

jrit commented 8 years ago

Seems like an OK way to deal with the problem. Thanks again.