summaryrefslogtreecommitdiff
path: root/inc/html.php
diff options
context:
space:
mode:
authorandi <andi@splitbrain.org>2005-04-24 15:29:22 +0200
committerandi <andi@splitbrain.org>2005-04-24 15:29:22 +0200
commit506ae684bcf1ce877f4b74e255056d17161e4cc0 (patch)
treed0db80e9ffe246fc871b8d642d4b88c8a7eee427 /inc/html.php
parentc27ff579c062b3489dae397eb8654e4628d3b2cc (diff)
downloadrpg-506ae684bcf1ce877f4b74e255056d17161e4cc0.tar.gz
rpg-506ae684bcf1ce877f4b74e255056d17161e4cc0.tar.bz2
finally valid XHTML again
darcs-hash:20050424132922-9977f-5e9acbeae431ca1c605169829e580bf094a09ef9.gz
Diffstat (limited to 'inc/html.php')
-rw-r--r--inc/html.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/inc/html.php b/inc/html.php
index 8f717f8c4..efcc7e15a 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -125,14 +125,14 @@ function html_secedit_button($section,$p){
global $ID;
global $lang;
$secedit = '';
- if($p) $secedit .= "</p>\n";
+# if($p) $secedit .= "</p>\n";
$secedit .= '<div class="secedit">';
$secedit .= html_btn('secedit',$ID,'',
array('do' => 'edit',
'lines' => "$section"),
'post');
$secedit .= '</div>';
- if($p) $secedit .= "\n<p>";
+# if($p) $secedit .= "\n<p>";
return $secedit;
}
@@ -153,7 +153,6 @@ function html_secedit($text,$show=true){
}else{
$text = preg_replace('#<!-- SECTION \[(\d*-\d*)\] -->#e','',$text);
}
- $text = preg_replace('@<p>\s*</p>@', '', $text);
return $text;
}