webbuild: reallow html tags in processtail to display colors, only filter <[/]pre> tags for now
This commit is contained in:
parent
367e2f7dee
commit
f492d02d7d
@ -56,7 +56,7 @@ function showlog() {
|
||||
echo -n "<pre>"
|
||||
if [ "$LOGTYPE" = "processtail" ]; then
|
||||
echo -n "<!-- SCROLL -->"
|
||||
tail -n +0 -f $f --pid $PROCESSPID | stdbuf -oL sed "s|<|\<|g"
|
||||
tail -n +0 -f $f --pid $PROCESSPID | stdbuf -oL sed "s|<\([/]pre>\)|\<\1|g"
|
||||
echo -n "<!-- ENDSCROLL -->"
|
||||
else
|
||||
if [ $LOGFILESIZE -lt 2097152 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user