HTML entities fixes
This commit is contained in:
@@ -6,8 +6,8 @@ $Id$
|
|||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
2003-03-25 Michal Cihar <nijel@users.sourceforge.net>
|
2003-03-25 Michal Cihar <nijel@users.sourceforge.net>
|
||||||
* tbl_query_box.php3, tbl_properties_operations.php3: More HTML entities
|
* tbl_query_box.php3, tbl_properties_operations.php3,
|
||||||
fixes.
|
libraries/common.lib.php3: More HTML entities fixes.
|
||||||
|
|
||||||
2003-03-24 Michal Cihar <nijel@users.sourceforge.net>
|
2003-03-24 Michal Cihar <nijel@users.sourceforge.net>
|
||||||
* db_details_structure.php3, mult_submits.inc.php: Added CHECK TABLE to
|
* db_details_structure.php3, mult_submits.inc.php: Added CHECK TABLE to
|
||||||
|
@@ -1167,7 +1167,7 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold}
|
|||||||
function PMA_jsFormat($a_string = '', $add_backquotes = TRUE)
|
function PMA_jsFormat($a_string = '', $add_backquotes = TRUE)
|
||||||
{
|
{
|
||||||
if (is_string($a_string)) {
|
if (is_string($a_string)) {
|
||||||
$a_string = str_replace('"', '"', $a_string);
|
$a_string = htmlentities($a_string);
|
||||||
$a_string = str_replace('\\', '\\\\', $a_string);
|
$a_string = str_replace('\\', '\\\\', $a_string);
|
||||||
$a_string = str_replace('\'', '\\\'', $a_string);
|
$a_string = str_replace('\'', '\\\'', $a_string);
|
||||||
$a_string = str_replace('#', '\\#', $a_string);
|
$a_string = str_replace('#', '\\#', $a_string);
|
||||||
|
Reference in New Issue
Block a user