Skip to content

Commit

Permalink
backend: Improve 1ac4999
Browse files Browse the repository at this point in the history
  • Loading branch information
ophian committed Nov 18, 2023
1 parent 19aeb49 commit 07d226d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serendipity_admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@
break;
}

$main_content = ltrim(ob_get_contents()); // strip starting whitespace indents brought into by ob_***()
$main_content = trim(ob_get_contents()); // strip starting and ending whitespace indents brought into by ob_***() or by hooks
ob_end_clean();
}

Expand Down

0 comments on commit 07d226d

Please sign in to comment.