Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR Warning about HTML5 compat in CSSContentParser

  • Loading branch information...
commit e643559b17dc5afd42055a9a09f5da14cf0f1a7e 1 parent 5499079
Ingo Schommer chillu authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 dev/CSSContentParser.php
4 dev/CSSContentParser.php
View
@@ -2,7 +2,6 @@
/**
* CSSContentParser enables parsing & assertion running of HTML content via CSS selectors.
- *
* It works by converting the content to XHTML using tidy, rewriting the CSS selectors as XPath queries, and executing
* those using SimpeXML.
*
@@ -13,6 +12,9 @@
* and falls back to the "tidy" CLI tool. If none of those exists,
* the string is parsed directly without sanitization.
*
+ * Caution: Doesn't fully support HTML elements like <header>
+ * due to them being declared illegal by the "tidy" preprocessing step.
+ *
* @package framework
* @subpackage core
*/
Please sign in to comment.
Something went wrong with that request. Please try again.