From e029a2039de53eec043bb2f5b74df7087ce365a4 Mon Sep 17 00:00:00 2001 From: Jens Diemer Date: Mon, 20 Jan 2020 14:20:31 +0100 Subject: Update creol2html_rules.py (?i) is re.IGNORECASE The image tag doesn't contain anything that must match case-insensitive. So it can be removed, to fix: #31 --- creole/parser/creol2html_rules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/creole/parser/creol2html_rules.py b/creole/parser/creol2html_rules.py index cbe0451..4cb1e2a 100644 --- a/creole/parser/creol2html_rules.py +++ b/creole/parser/creol2html_rules.py @@ -51,7 +51,7 @@ class InlineRules(object): # ''' % proto # image tag - image = r'''(?i)(?P + image = r'''(?P {{ (?P.+?) \s* (\| \s* (?P.+?) \s*)? -- cgit v1.2.1