Skip to content
This repository has been archived by the owner on May 17, 2018. It is now read-only.

Commit

Permalink
fix issue with py2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
revolunet committed Apr 26, 2014
1 parent 3b94b84 commit cf8c7e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion markdown/extensions/headerid.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
logger = logging.getLogger('MARKDOWN')


DISALLOW_RE = re.compile(r'([\s{}]+)'.format(re.escape(punctuation)))
DISALLOW_RE = re.compile(r'([\s{0}]+)'.format(re.escape(punctuation)))
IDCOUNT_RE = re.compile(r'^(.*)_([0-9]+)$')


Expand Down

0 comments on commit cf8c7e0

Please sign in to comment.