diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/classes/BigPipe/Pagelet.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/classes/BigPipe/Pagelet.php b/include/classes/BigPipe/Pagelet.php index 9e145fd..07b7d87 100644 --- a/include/classes/BigPipe/Pagelet.php +++ b/include/classes/BigPipe/Pagelet.php @@ -151,7 +151,7 @@ class Pagelet extends Item { #=============================================================================== public function flush() { if(BigPipe::enabled()) { - $pageletHTML = removeLineBreaksAndTabs($this->getHTML()); + $pageletHTML = str_replace(["\r", "\n", "\t"], '', $this->getHTML()); $pageletHTML = str_replace('--', '--', $pageletHTML); $pageletJSON = json_encode($this->getStructure()); |