diff options
Diffstat (limited to 'markdown.py')
-rw-r--r-- | markdown.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/markdown.py b/markdown.py index e563866..181de1d 100644 --- a/markdown.py +++ b/markdown.py @@ -640,8 +640,8 @@ So, we apply the expressions in the following order: NOBRACKET = r'[^\]\[]*' BRK = ( r'\[(' - + (NOBRACKET + r'(\['+NOBRACKET)*6 - + (NOBRACKET+ r'\])*'+NOBRACKET)*6 + + (NOBRACKET + r'(\[')*6 + + (NOBRACKET+ r'\])*')*6 + NOBRACKET + r')\]' ) BACKTICK_RE = r'\`([^\`]*)\`' # `e= m*c^2` |