summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-includes/functions-formatting.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-inst/wp-includes/functions-formatting.php')
-rw-r--r--wp-inst/wp-includes/functions-formatting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-inst/wp-includes/functions-formatting.php b/wp-inst/wp-includes/functions-formatting.php
index c179df2..8b959d4 100644
--- a/wp-inst/wp-includes/functions-formatting.php
+++ b/wp-inst/wp-includes/functions-formatting.php
@@ -994,7 +994,7 @@ function ent2ncr($text) {
function wp_richedit_pre($text) {
// Filtering a blank results in an annoying <br />\n
- if ( empty($text) ) return '';
+ if ( empty($text) ) return '<p> </p>';
$output = $text;
$output = html_entity_decode($output); // undoes format_to_edit()