- Notifications
You must be signed in to change notification settings - Fork 886
Closed
Labels
bugBug report.Bug report.confirmedConfirmed bug report or approved feature request.Confirmed bug report or approved feature request.extensionRelated to one or more of the included extensions.Related to one or more of the included extensions.
Description
Now I found another issue similar to #1358 and I checked that its fix doesn't also fix this one.
Regression in 3.4 - c0f6e5a is the first bad commit
Reproduction code:
import markdown md = markdown.Markdown(extensions=['toc']) s = r''' ### hello \[foo] ''' md.convert(s) print(md.toc_tokens)
Output before vs after:
[{'level': 3, 'id': 'hello-foo', 'name': 'hello [foo]', 'children': []}]
[{'level': 3, 'id': 'hello-foo', 'name': 'hello \x0291\x03foo]', 'children': []}]
m1-s
Metadata
Metadata
Assignees
Labels
bugBug report.Bug report.confirmedConfirmed bug report or approved feature request.Confirmed bug report or approved feature request.extensionRelated to one or more of the included extensions.Related to one or more of the included extensions.