diff --git a/inc/common.php b/inc/common.php index 687d2accd08a4e0502b37c54cc7a4e41e9f41c85..ebacca92e07d9867a71a1e3386f1e1e11f8a0aa5 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; }