X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/d29a2a647aba72044b14074873d1fa626116e031..refs/pull/3391/head:/app/Entities/Tools/PageContent.php diff --git a/app/Entities/Tools/PageContent.php b/app/Entities/Tools/PageContent.php index dbb62021c..b1c750adb 100644 --- a/app/Entities/Tools/PageContent.php +++ b/app/Entities/Tools/PageContent.php @@ -239,6 +239,9 @@ class PageContent $html .= $doc->saveHTML($childNode); } + // Perform required string-level tweaks + $html = str_replace(' ', ' ', $html); + return $html; }