unbreak *** breaks
This commit is contained in:
parent
029c28fd8b
commit
3c2150a9a8
2
event.py
2
event.py
@ -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…
x
Reference in New Issue
Block a user