Fix bug causing db table cells containing empty strings
This commit is contained in:
@@ -205,7 +205,7 @@ class RedFamParser( RedFam ):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
# Predefine a pattern for wikilinks' destination
|
# 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
|
# Parse content of heading for generating section links later
|
||||||
match = type( self ).__sectionhead_pat.search( heading )
|
match = type( self ).__sectionhead_pat.search( heading )
|
||||||
|
|||||||
Reference in New Issue
Block a user