1
In the file module.textsanitizer.php, the function htmlSpecialChars has only one piece of code:
[size=x-small]return preg_replace(array("/&/i", "/ /i"), array('&', ' '), htmlspecialchars($text, ENT_QUOTES));[/size]
Sorry for my code format, there is bug when I put above code in the [code] area.
my question is:
we use the htmlspecialchars to change the html char to Character Codes, why do we need to change the & back to &, and just keep ?
thanks