mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-23 17:01:51 +00:00
8ae2604440
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1227 48356398-32a2-884e-a903-53898d9a118a
27 lines
699 B
PHP
27 lines
699 B
PHP
<?php
|
|
|
|
$fallback = false;
|
|
|
|
$messages = array(
|
|
|
|
'htmlpurifier' => 'HTML Purifier',
|
|
'pizza' => 'Pizza', // for unit testing purposes
|
|
|
|
'ErrorCollector: No errors' => 'No errors',
|
|
'ErrorCollector: At line' => ' at line $line',
|
|
|
|
'Lexer: Unclosed comment' => 'Unclosed comment',
|
|
'Lexer: Unescaped lt' => 'Unescaped less-than sign (<) should be <',
|
|
'Lexer: Missing gt' => 'Missing greater-than sign (>), previous less-than sign (<) should be escaped',
|
|
'Lexer: Missing attribute key' => 'Attribute declaration has no key',
|
|
'Lexer: Missing end quote' => 'Attribute declaration has no end quote',
|
|
|
|
);
|
|
|
|
$errorNames = array(
|
|
E_ERROR => 'Error',
|
|
E_WARNING => 'Warning',
|
|
E_NOTICE => 'Notice'
|
|
);
|
|
|
|
?>
|