Fix bug#1014 markdown编辑器中的表格显示不正确
This commit is contained in:
@@ -605,7 +605,7 @@ class hyperdown
|
||||
break;
|
||||
|
||||
// table
|
||||
case preg_match("/^((?:(?:(?:[ :]*\-[ :]*)+(?:\||\+))|(?:(?:\||\+)(?:[ :]*\-[ :]*)+)|(?:(?:[ :]*\-[ :]*)+(?:\||\+)(?:[ :]*\-[ :]*)+))+)\s*$/", $line, $matches):
|
||||
case preg_match("/^ *((?:(?:(?:[ :]*\-[ :]*)+(?:\||\+))|(?:(?:\||\+)(?:[ :]*\-[ :]*)+)|(?:(?:[ :]*\-[ :]*)+(?:\||\+)(?:[ :]*\-[ :]*)+))+)\s*$/", $line, $matches):
|
||||
if ($this->isBlock('table')) {
|
||||
$block[3][0][] = $block[3][2];
|
||||
$block[3][2] ++;
|
||||
|
||||
@@ -129,6 +129,7 @@ class svn extends control
|
||||
}
|
||||
|
||||
$objects = $this->svn->parseComment($message);
|
||||
file_put_contents('/tmp/log.txt', json_encode($objects));
|
||||
if($objects)
|
||||
{
|
||||
$log = new stdclass();
|
||||
|
||||
Reference in New Issue
Block a user