Fix bug causing db table cells containing empty strings

This commit is contained in:
2015-09-19 19:45:34 +02:00
parent 4518efc504
commit 523d029fdc

View File

@@ -205,7 +205,7 @@ class RedFamParser( RedFam ):
"""
# Predefine a pattern for wikilinks' destination
wikilink_pat = re.compile( r"\[\[([^\[\]\|]*)(\]\]|\|)" )
wikilink_pat = re.compile( r"\[\[([^\[\]\|]+)(?:\]\]|\|)" )
# Parse content of heading for generating section links later
match = type( self ).__sectionhead_pat.search( heading )