mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-23 08:51:53 +00:00
e66a98c396
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1229 48356398-32a2-884e-a903-53898d9a118a
27 lines
720 B
PHP
27 lines
720 B
PHP
<?php
|
|
|
|
$fallback = false;
|
|
|
|
$messages = array(
|
|
|
|
'HTMLPurifier' => 'HTML Purifier',
|
|
'LanguageFactoryTest: 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'
|
|
);
|
|
|
|
?>
|