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 ) ( pre, yamldata, docdata ) = re.split( "^---$", indata, flags = re.MULTILINE )
self.fields = yaml.load( yamldata, Loader = yaml.SafeLoader ) self.fields = yaml.load( yamldata, Loader = yaml.SafeLoader )
doc = docdata.strip() 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.doc = bits.pop( 0 )
self.updates = [ x.strip() for x in bits ] self.updates = [ x.strip() for x in bits ]

Loading…
Cancel
Save