fixing formatting in sidebar header
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 24 Sep 2018 19:49:17 +0000 (15:49 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 24 Sep 2018 19:49:17 +0000 (15:49 -0400)
lib/navigation.php

index bf0ff26..c993e38 100644 (file)
@@ -306,7 +306,7 @@ function glm_side_menu($mobile = false, $title = false) {
         if ($pageHead->target) {
             echo ' target="'.$pageHead->target.'"';
         }
-        $pageHead->title = preg_replace("/<br>/", "", $pageHead->title);
+        $pageHead->title = preg_replace("/<br>/", " ", $pageHead->title);
         echo '>'.$pageHead->title.'</a></h1>';
         echo '<ul class="sidebar">';
     }