Skip to content
This repository
Browse code

MINOR Warning about HTML5 compat in CSSContentParser

  • Loading branch information...
commit e643559b17dc5afd42055a9a09f5da14cf0f1a7e 1 parent 5499079
Ingo Schommer authored June 05, 2012

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. 4  dev/CSSContentParser.php
4  dev/CSSContentParser.php
@@ -2,7 +2,6 @@
2 2
 
3 3
 /**
4 4
  * CSSContentParser enables parsing & assertion running of HTML content via CSS selectors.
5  
- * 
6 5
  * It works by converting the content to XHTML using tidy, rewriting the CSS selectors as XPath queries, and executing
7 6
  * those using SimpeXML.
8 7
  * 
@@ -13,6 +12,9 @@
13 12
  * and falls back to the "tidy" CLI tool. If none of those exists,
14 13
  * the string is parsed directly without sanitization.
15 14
  * 
  15
+ * Caution: Doesn't fully support HTML elements like <header>
  16
+ * due to them being declared illegal by the "tidy" preprocessing step.
  17
+ * 
16 18
  * @package framework
17 19
  * @subpackage core
18 20
  */

0 notes on commit e643559

Please sign in to comment.
Something went wrong with that request. Please try again.