From edab4de15779bb0f4399cc39d13ebf55bd63c92b Mon Sep 17 00:00:00 2001 From: phl0 Date: Mon, 16 Jan 2017 18:17:05 +0100 Subject: [PATCH] Replace whitespace with html special chars --- include/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/functions.php b/include/functions.php index 7faaba1..1270f82 100644 --- a/include/functions.php +++ b/include/functions.php @@ -375,6 +375,7 @@ function getHeardList($logLines, $onlyLast) { $target = substr($logLine, $topos + 3); + $target = preg_replace('/\s/', ' ', $target); $source = "RF"; if (strpos($logLine,"network") > 0 ) { $source = "Net";