diff options
author | petko <petko@524c5546-5005-0410-9a3e-e25e191bd360> | 2024-08-18 09:17:22 +0000 |
---|---|---|
committer | petko <petko@524c5546-5005-0410-9a3e-e25e191bd360> | 2024-08-18 09:17:22 +0000 |
commit | 7b1562bb1956f506ecdaecbb64042fc50b55d96b (patch) | |
tree | 8409bec9c486ced18ae780eecdd3210be6d0793f | |
parent | 856b2e476860a4948b6905eb04b3a32c09fb9a10 (diff) | |
download | pmwiki.svn-7b1562bb1956f506ecdaecbb64042fc50b55d96b.tar.bz2 |
$EnableSimpleTableRowspan enabled.
git-svn-id: svn://pmwiki.org/pmwiki/trunk@4772 524c5546-5005-0410-9a3e-e25e191bd360
-rw-r--r-- | pmwiki.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2205,7 +2205,7 @@ function FormatTableRow($x, $sep = '\\|\\|') { static $rowcount; SDV($TableCellAlignFmt, " align='%s'"); - if (IsEnabled($EnableSimpleTableRowspan, 0)) { + if (IsEnabled($EnableSimpleTableRowspan, 1)) { $x = preg_replace("/\\|\\|__+(?=\\|\\|)/", '||', $x); $x = preg_replace("/\\|\\|\\^\\^+(?=\\|\\|)/", '', $x); } @@ -2215,7 +2215,7 @@ function FormatTableRow($x, $sep = '\\|\\|') { if ($td[$i]=='') continue; $FmtV['$TableCellCount'] = $i; $attr = FmtPageName(@$TableCellAttrFmt, ''); - if (IsEnabled($EnableSimpleTableRowspan, 0)) { + if (IsEnabled($EnableSimpleTableRowspan, 1)) { if (preg_match('/(\\+\\++)\\s*$/', $td[$i], $rspn)) { $td[$i] = preg_replace('/\\+\\++(\\s*)$/', '$1', $td[$i]); $attr .= " rowspan='".strlen($rspn[1])."'"; |