Merge remote-tracking branch 'origin/master'

This commit is contained in:
Pootle server 2011-08-09 10:40:06 +02:00
commit 98f9a70ed9

View File

@ -25,9 +25,8 @@ function PMA_jsFormat($a_string = '', $add_backquotes = true)
if (is_string($a_string)) {
$a_string = htmlspecialchars($a_string);
$a_string = PMA_escapeJsString($a_string);
/**
* @todo what is this good for?
*/
// Needed for inline javascript to prevent some browsers
// treating it as a anchor
$a_string = str_replace('#', '\\#', $a_string);
}