1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 13:47:31 +02:00

Tiny syntax fix

This commit is contained in:
Cameron
2013-03-01 18:22:27 -08:00
parent 0df1013fe3
commit ae1f60f42f

View File

@@ -2510,7 +2510,7 @@ class e_parser
continue;
}
if(invalidAttributeVal( $value)) // Check value against blacklist.
if(invalidAttributeVal( $value)) // Check value against whitelist.
{
$node->removeAttribute($name);
$node->setAttribute($name, '#---sanitized---#');
@@ -2529,7 +2529,7 @@ class e_parser
}
// Convert <code> and <pre> Tags to Htmlentities.
foreach($this->nodesToConvert as $node) //TODO Work on code processing and highlighting .
foreach($this->nodesToConvert as $node)
{
$value = $node->C14N();