Commit b8fdc84c authored by Ingmar Schlecht's avatar Ingmar Schlecht
Browse files

* Changed the way htmlspecialchars() is applied to tag attributes on xhtmlCleaning


git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@602 709f56b5-9817-0410-a4d7-c38de5d9e867
parent c57dedef
2005-04-05 Ingmar Schlecht <ingmar@typo3.org>
* Changed the way htmlspecialchars() is applied to tag attributes on xhtmlCleaning
2005-04-04 Michael Stucki <michael@typo3.org>
* Unfortunately the resolve-path patch was overwritten, so here it is again
......
......@@ -1271,7 +1271,7 @@ class t3lib_parsehtml {
reset($tagAttrib[0]);
while(list($attrib_name,$attrib_value)=each($tagAttrib[0])) {
// Set attributes: lowercase, always in quotes, with htmlspecialchars converted.
$outA[]=$attrib_name.'="'.htmlspecialchars($this->bidir_htmlspecialchars($attrib_value,-1)).'"';
$outA[]=$attrib_name.'="'.$this->bidir_htmlspecialchars($attrib_value,2).'"';
}
$newTag='<'.trim($tagName.' '.implode(' ',$outA));
// All tags that are standalone (not wrapping, not having endtags) should be ended with '/>'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment