From 3c2150a9a8cd75fe32e4f873a3b78ee65474047d Mon Sep 17 00:00:00 2001 From: Marek Isalski Date: Sun, 5 Sep 2021 13:08:02 +0100 Subject: [PATCH] unbreak *** breaks --- event.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event.py b/event.py index a6eab2c..b8bbd33 100644 --- a/event.py +++ b/event.py @@ -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 ]