projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
refactored esclfhtml function to avoid ASCII string output and removing NL
[brisk.git]
/
web
/
Obj
/
brisk.phh
diff --git
a/web/Obj/brisk.phh
b/web/Obj/brisk.phh
index
e88f1db
..
344b30e
100644
(file)
--- a/
web/Obj/brisk.phh
+++ b/
web/Obj/brisk.phh
@@
-395,10
+395,9
@@
function eschtml($s)
function esclfhtml($s)
{
- return str_replace("\n", "<br>
\n", htmlentitie
s($s));
+ return str_replace("\n", "<br>
", htmlspecialchar
s($s));
}
-
function langtolng($lang)
{
GLOBAL $G_lang;