-
Notifications
You must be signed in to change notification settings - Fork 86
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
context
v2.2.0...v3.0.0#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4edR21-R23
When I provide this input:
http://example.org/foo._bar_-_baz This works
This doesnt http://example.org/foo._bar_-_baz
While this `does` http://example.org/foo._bar_-_baz, this doesnt http://example.org/foo._bar_-_baz and this **does** http://example.org/foo._bar_-_baz
This applies to _series of URLs too_ http://example.org/foo._bar_-_baz http://example.org/foo._bar_-_baz, these dont http://example.org/foo._bar_-_baz http://example.org/foo._bar_-_baz and these **do** http://example.org/foo._bar_-_baz http://example.org/foo._bar_-_baz
expectation
I expect all URLs to get linkified correctly and entirely.
bug
But instead the ones indicated in the provided input do not get linkified.

problem
This is a problem for people using URLs in their content, because they expect consistency in the output.
Reproduce the bug
The provided input content suffices to indicate the use cases where the bug occurs.
List your environment
markdown-it-py==3.0.0
mdit-py-plugins==0.4.0
Python version: 3.11.4
OS: MacOS
Markdown parser config:
- Preset: gfm-like
- html: False
- linkify: True
- typographer: True
- breaks: True
- plugins:
- container_plugin for UI tabs: {'name': 'tab', 'marker': ':', 'render': render_tab}
- abbr_plugin
- block_code_extend_plugin
- deflist_plugin
- footnote_plugin
- footnote_extend_plugin
- anchors_plugin: {'min_level': 1, 'max_level': 6, 'slug_func': lambda x: 'h:' + make_name(x), 'permalink': True, 'permalinkSymbol': '#', 'permalinkSpace': False}
- heading_anchors_fix_plugin
- tasklists_plugin: {'enabled': True, 'label': True, 'label_after': False}
- ins_plugin
- sub_plugin
- sup_plugin
- mark_plugin
- embeds_plugin: {'name': 'markmap'}
- embeds_plugin: {'name': 'vega-lite'}
- embeds_plugin: {'name': 'mermaid'}
- smartquotes: enabled
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working