|
|
@ -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 ]
|
|
|
|
|
|
|
|
|
|
|
|