mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 04:32:01 +02:00
Merge pull request #3417 from newbthenewbd/patch-2
Fix language editor wrongly parsing HTML entities
This commit is contained in:
commit
adf4d67609
@ -1849,7 +1849,7 @@ class lancheck
|
||||
<td style='width:40%;vertical-align:top'>".htmlentities(str_replace("ndef++","",$trans['orig'][$sk])) ."</td>";
|
||||
$text .= "<td class='forumheader3' style='width:50%;vertical-align:top'>";
|
||||
$text .= ($writable) ? "<textarea class='input-xxlarge' name='newlang[]' rows='$rowamount' cols='45' style='height:100%'>" : "";
|
||||
$text .= str_replace("ndef++","",$trans['tran'][$sk]);
|
||||
$text .= htmlentities(str_replace("ndef++","",$trans['tran'][$sk]));
|
||||
$text .= ($writable) ? "</textarea>" : "";
|
||||
//echo "orig --> ".$trans['orig'][$sk]."<br />";
|
||||
if (strpos($trans['orig'][$sk],"ndef++") !== False)
|
||||
|
Loading…
x
Reference in New Issue
Block a user