unbreak *** breaks

master
Marek Isalski 3 years ago
parent 029c28fd8b
commit 3c2150a9a8

@ -36,7 +36,7 @@ class Index( object ):
( pre, yamldata, docdata ) = re.split( "^---$", indata, flags = re.MULTILINE )
self.fields = yaml.load( yamldata, Loader = yaml.SafeLoader )
doc = docdata.strip()
bits = re.split( r"^\**$", doc, flags = re.MULTILINE )
bits = re.split( r"^\*+$", doc, flags = re.MULTILINE )
self.doc = bits.pop( 0 )
self.updates = [ x.strip() for x in bits ]

Loading…
Cancel
Save