emogrifier icon indicating copy to clipboard operation
emogrifier copied to clipboard

Add readme caveat re URL escaping

Open JakeQZ opened this issue 1 year ago • 0 comments

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

  • URL-escaping of URL attributes, which may break templating engines.

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

This issue should be noted in the README.

JakeQZ avatar Dec 19 '23 02:12 JakeQZ