MyIntervals / emogrifier

Converts CSS styles into inline style attributes in your HTML code.
https://www.myintervals.com/emogrifier.php
MIT License
907 stars 154 forks source link

Add readme caveat re URL escaping #1247

Open JakeQZ opened 10 months ago

JakeQZ commented 10 months ago

See #646.

Due to the way Emogrifier works internally by using DOMDocument, any lack of true replication of actual HTML markup when processed through loadHtml and then saveHtml will be evident in the output.

This includes

Workarounds are possible, typically involving a str_replace before and after Emogrification.

This issue should be noted in the README.