dont use deprecated tags
This commit is contained in:
@@ -28,6 +28,7 @@ $Source$
|
|||||||
error.php if this fails too
|
error.php if this fails too
|
||||||
- moved loading of extension out of libraries/dbi/* into
|
- moved loading of extension out of libraries/dbi/* into
|
||||||
libraries/database_interface.lib.php
|
libraries/database_interface.lib.php
|
||||||
|
* libraries/sanitizing.lib.php: dont use deprecated tags
|
||||||
|
|
||||||
2005-11-16 Marc Delisle <lem9@users.sourceforge.net>
|
2005-11-16 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* tbl_properties_links.php: missing menu tabs
|
* tbl_properties_links.php: missing menu tabs
|
||||||
|
@@ -17,12 +17,20 @@ function PMA_sanitize($message)
|
|||||||
$replace_pairs = array(
|
$replace_pairs = array(
|
||||||
'<' => '<',
|
'<' => '<',
|
||||||
'>' => '>',
|
'>' => '>',
|
||||||
'[i]' => '<i>',
|
'[i]' => '<em>', // deprecated by em
|
||||||
'[/i]' => '</i>',
|
'[/i]' => '</em>', // deprecated by em
|
||||||
'[b]' => '<b>',
|
'[em]' => '<em>',
|
||||||
'[/b]' => '</b>',
|
'[/em]' => '</em>',
|
||||||
'[tt]' => '<tt>',
|
'[b]' => '<strong>', // deprecated by strong
|
||||||
'[/tt]' => '</tt>',
|
'[/b]' => '</strong>', // deprecated by strong
|
||||||
|
'[strong]' => '<strong>',
|
||||||
|
'[/strong]' => '</strong>',
|
||||||
|
'[tt]' => '<code>', // deprecated by CODE or KBD
|
||||||
|
'[/tt]' => '</code>', // deprecated by CODE or KBD
|
||||||
|
'[code]' => '<code>',
|
||||||
|
'[/code]' => '</code>',
|
||||||
|
'[kbd]' => '<kbd>',
|
||||||
|
'[/kbd]' => '</kbd>',
|
||||||
'[br]' => '<br />',
|
'[br]' => '<br />',
|
||||||
'[/a]' => '</a>',
|
'[/a]' => '</a>',
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user