mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Bug #3755 - Use of " & " wasn't validating. Added a search/replace with spaces either side to avoid problems with entities.
This commit is contained in:
@@ -11,9 +11,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_handlers/e_parse_class.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/e_parse_class.php,v $
|
||||||
| $Revision: 1.5 $
|
| $Revision: 1.6 $
|
||||||
| $Date: 2007-01-20 16:12:51 $
|
| $Date: 2007-02-18 01:17:25 $
|
||||||
| $Author: mrpete $
|
| $Author: e107coders $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
if (!defined('e107_INIT')) { exit; }
|
if (!defined('e107_INIT')) { exit; }
|
||||||
@@ -26,8 +26,8 @@ class e_parse
|
|||||||
var $e_pf;
|
var $e_pf;
|
||||||
var $e_emote;
|
var $e_emote;
|
||||||
var $e_hook;
|
var $e_hook;
|
||||||
var $search = array(''', ''', '"', 'onerror', '>', ''', '"');
|
var $search = array(''', ''', '"', 'onerror', '>', ''', '"', ' & ');
|
||||||
var $replace = array("'", "'", '"', 'one<i></i>rror', '>', "'", '"');
|
var $replace = array("'", "'", '"', 'one<i></i>rror', '>', "'", '"', ' & ');
|
||||||
var $e_highlighting; // Set to TRUE or FALSE once it has been calculated
|
var $e_highlighting; // Set to TRUE or FALSE once it has been calculated
|
||||||
var $e_query; // Highlight query
|
var $e_query; // Highlight query
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user