Mailto links containing apostrophes get broken by this filter. This is because of the call to filter_xss_bad_protocol on line 420 of which does a check_plain() resulting in apostrophes getting converted to '. I'm not sure of the best way to fix this, but for now I've just added:

        if (substr($attrinfo['value'], 0, strpos($attrinfo['value'], ':')) == 'mailto') {
          $attrinfo['value'] = decode_entities($attrinfo['value']);


stefan.r’s picture

Version: 6.x-1.5 » 7.x-1.x-dev
Issue summary: View changes
Status: Active » Needs work

Needs to be ported to 7.x if applicable!