Closed (won't fix)
Project:
Drupal core
Version:
6.x-dev
Component:
filter.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Feb 2009 at 02:34 UTC
Updated:
8 May 2013 at 14:59 UTC
When processing an HTML page with inline CSS, filter_xss() is unable to properly handle the direct descendant selector ' > '. When used through drupal_html_to_text() the result is the inline CSS is partially included in the plain text message.
Comments
Comment #1
mfbI also hit this issue with a piece of HTML inside a CSS comment, as seen in http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/cck/theme/c...
After
<label>the rest of the contents of the<style>element are returned as text (in this case it's mimemail module that moves the CSS file into a<style>element, in case you're wondering).Comment #2
multiplextor commentedClosed. The reason: expired.