From e643559b17dc5afd42055a9a09f5da14cf0f1a7e Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Tue, 5 Jun 2012 11:38:27 +0200 Subject: [PATCH] MINOR Warning about HTML5 compat in CSSContentParser --- dev/CSSContentParser.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev/CSSContentParser.php b/dev/CSSContentParser.php index e068e61fa..04f70444d 100644 --- a/dev/CSSContentParser.php +++ b/dev/CSSContentParser.php @@ -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
+ * due to them being declared illegal by the "tidy" preprocessing step. + * * @package framework * @subpackage core */