roundcube/roundcubemail — pull request #98 by rodrigo-castillo (2013-07-24 21:57:46+00:00)
Title: replaces smart quotes with regular quotes

In our usage we found that a lot of html emails end up with smart quotes in the doctype declarations, which causes unexpected behavior (including removing the textContent attribute from DOMNode objects) from the php DOMDocument classes.

This replaces smart quotes with regular quotes before the html is loaded into DOMDocument to prevent that.