Logging met \n vertalen naar <br> is iets vriendelijker
svn path=/Website/trunk/; revision=30401
This commit is contained in:
@@ -299,7 +299,7 @@ function __DoLog(s, optionalColor, optionalCaller, leave_open)
|
||||
s = "<em style='font-size:smaller'>JSON is niet gedefinieerd, fallback naar __Log:</em><br>" + Server.HTMLEncode(String(s))
|
||||
}
|
||||
else
|
||||
s = Server.HTMLEncode(String(s))
|
||||
s = Server.HTMLEncode(String(s)).replace(/\n/g, "<br>");
|
||||
__SafeDoLog(s, optionalColor, optionalCaller, leave_open);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user