diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/common.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/common.php b/inc/common.php index 687d2accd..ebacca92e 100644 --- a/inc/common.php +++ b/inc/common.php @@ -784,7 +784,8 @@ function con($pre,$text,$suf,$pretty=false){ if($suf && substr($text,-1) != "\n") $text .= "\n"; } - if($pre) $pre .= "\n"; + // Avoid double newline above section when saving section edit + //if($pre) $pre .= "\n"; if($suf) $text .= "\n"; return $pre.$text.$suf; } |