1
0
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:
Cameron
2015-04-10 12:36:35 -07:00
parent fe9fe1c3f8
commit 507308208b
5 changed files with 35 additions and 14 deletions

View File

@@ -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?