Skip to content
This repository has been archived by the owner on Jan 31, 2022. It is now read-only.

Commit

Permalink
Disable automatic separator row for MultiMarkDown syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
vkocubinsky committed Dec 28, 2013
1 parent 81dfaff commit 76abfcd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions table_multi_markdown_syntax.py
Expand Up @@ -115,6 +115,8 @@ def is_align(self):
class MultiMarkdownTableParser(tbase.BaseTableParser):

def _is_multi_markdown_align_row(self, str_cols):
if len(str_cols) == 0:
return False
for col in str_cols:
if not MultiMarkdownAlignColumn.match_cell(col):
return False
Expand Down
2 changes: 2 additions & 0 deletions table_simple_syntax.py
Expand Up @@ -100,6 +100,8 @@ def is_align(self):
class SimpleTableParser(tborder.BorderTableParser):

def _is_custom_align_row(self, str_cols):
if len(str_cols) == 0:
return False
for col in str_cols:
if not CustomAlignColumn.match_cell(col):
return False
Expand Down

0 comments on commit 76abfcd

Please sign in to comment.