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