mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 21:57:51 +02:00
Tiny syntax fix
This commit is contained in:
@@ -2510,7 +2510,7 @@ class e_parser
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(invalidAttributeVal( $value)) // Check value against blacklist.
|
if(invalidAttributeVal( $value)) // Check value against whitelist.
|
||||||
{
|
{
|
||||||
$node->removeAttribute($name);
|
$node->removeAttribute($name);
|
||||||
$node->setAttribute($name, '#---sanitized---#');
|
$node->setAttribute($name, '#---sanitized---#');
|
||||||
@@ -2529,7 +2529,7 @@ class e_parser
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Convert <code> and <pre> Tags to Htmlentities.
|
// 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();
|
$value = $node->C14N();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user