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 */