diff --git a/lib/hyperdown/hyperdown.class.php b/lib/hyperdown/hyperdown.class.php index 8f3d25e166..c6578411b5 100644 --- a/lib/hyperdown/hyperdown.class.php +++ b/lib/hyperdown/hyperdown.class.php @@ -605,7 +605,7 @@ class hyperdown break; // table - case preg_match("/^((?:(?:(?:[ :]*\-[ :]*)+(?:\||\+))|(?:(?:\||\+)(?:[ :]*\-[ :]*)+)|(?:(?:[ :]*\-[ :]*)+(?:\||\+)(?:[ :]*\-[ :]*)+))+)$/", $line, $matches): + case preg_match("/^((?:(?:(?:[ :]*\-[ :]*)+(?:\||\+))|(?:(?:\||\+)(?:[ :]*\-[ :]*)+)|(?:(?:[ :]*\-[ :]*)+(?:\||\+)(?:[ :]*\-[ :]*)+))+)\s*$/", $line, $matches): if ($this->isBlock('table')) { $block[3][0][] = $block[3][2]; $block[3][2] ++; diff --git a/module/common/view/markdown.html.php b/module/common/view/markdown.html.php index f8b777eada..b7289c1e89 100644 --- a/module/common/view/markdown.html.php +++ b/module/common/view/markdown.html.php @@ -10,12 +10,15 @@ $editor['id'] = explode(',', $editor['id']); - - -
-
-