1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-08-06 14:16:32 +02:00

Implement nested error collection with start() and end() in ErrorCollector.

Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
This commit is contained in:
Edward Z. Yang
2008-08-16 00:41:34 -04:00
parent c9b6f125aa
commit c807ed5fe2
4 changed files with 196 additions and 80 deletions

View File

@@ -15,7 +15,8 @@ $messages = array(
'Item separator last' => ' and ', // non-Harvard style
'ErrorCollector: No errors' => 'No errors detected. However, because error reporting is still incomplete, there may have been errors that the error collector was not notified of; please inspect the output HTML carefully.',
'ErrorCollector: At line' => ' at line $line',
'ErrorCollector: At line' => ' at line $line',
'ErrorCollector: Incidental errors' => 'Incidental errors',
'Lexer: Unclosed comment' => 'Unclosed comment',
'Lexer: Unescaped lt' => 'Unescaped less-than sign (<) should be &lt;',
@@ -52,8 +53,8 @@ $messages = array(
);
$errorNames = array(
E_ERROR => 'Error',
E_ERROR => 'Error',
E_WARNING => 'Warning',
E_NOTICE => 'Notice'
E_NOTICE => 'Notice'
);