Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Improvements for editing Unicode
  • Loading branch information
moodler committed May 9, 2004
1 parent 6ecde2b commit edc23b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion admin/lang.php
Expand Up @@ -218,7 +218,8 @@
$value = str_replace("\n\n\n","\n",$value);
$value = str_replace("\\","",$value); // Delete all slashes
$value = str_replace("%%","%",$value);
$value = htmlspecialchars($value);
$value = str_replace("<","&lt;",$value);
$value = str_replace(">","&gt;",$value);

$cellcolour = $value ? $THEME->cellcontent: $THEME->highlight;

Expand Down

0 comments on commit edc23b1

Please sign in to comment.