mirror of
https://github.com/e107inc/e107.git
synced 2025-08-17 12:01:05 +02:00
Fix for forgot password and activation links. Fix for news-edit button. Fix for html5 validation of html code using '&'.
This commit is contained in:
@@ -1522,6 +1522,7 @@ class e_parse extends e_parser
|
||||
$noBreak = TRUE;
|
||||
// $code_text = str_replace("\r\n", " ", $code_text);
|
||||
$code_text = html_entity_decode($code_text, ENT_QUOTES, CHARSET);
|
||||
$code_text = str_replace('&','&',$code_text); // validation safe.
|
||||
$html_start = "<!-- bbcode-html-start -->"; // markers for html-to-bbcode replacement.
|
||||
$html_end = "<!-- bbcode-html-end -->";
|
||||
$full_text = str_replace(array("[html]","[/html]"), "",$code_text); // quick fix.. security issue?
|
||||
|
Reference in New Issue
Block a user