You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Links with ()s do not parse correctly. See uccser/cs-field-guide#2565 (Thanks to @mckzm for spotting this and working on a fix!)
Proposed fix
Update python-markdown to 3.0 or greater.
Add a test, with link https://en.wikipedia.org/wiki/Entropy_(information_theory)
Background
In uccser/cs-field-guide#2566, the problem links were enclosed in <>, as per Common mark spec. But pyton-markdown uses John Gruber's Spec, which does not support enclosing links in <>.
Using a newer version of python-markdown should fix these problem links, and still conformant to the John Gruber's Spec.
Include [Entropy and information theory](https://en.wikipedia.org/wiki/Entropy_(information_theory)) in a template a markdown file and then render it using verto.
What device/software are you seeing this problem on?
No response
Additional Information
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Updating to markdown 3.0 does not fix parsing for [Entropy and information theory](https://en.wikipedia.org/wiki/Entropy_(information_theory)). Updating further than 3.0 causes more issues; no immediate action.
jimbonothing64
changed the title
[Bug]: Add test and support for links with nested ()s by updating python-markdown to 3.0 or greater
[Bug]: Add test and support for links with nested ()s
Apr 21, 2024
Description of the bug
Bug
Links with ()s do not parse correctly. See uccser/cs-field-guide#2565 (Thanks to @mckzm for spotting this and working on a fix!)
Proposed fix
https://en.wikipedia.org/wiki/Entropy_(information_theory)
Background
In uccser/cs-field-guide#2566, the problem links were enclosed in <>, as per Common mark spec. But pyton-markdown uses John Gruber's Spec, which does not support enclosing links in <>.
Using a newer version of python-markdown should fix these problem links, and still conformant to the John Gruber's Spec.
See blame for date fix was added to python-markdown:
https://github.com/Python-Markdown/markdown/blame/7c382f6c5d438d6d6661f842b03f15dbd6e42a2d/markdown/inlinepatterns.py#L449
Steps To Reproduce
Include
[Entropy and information theory](https://en.wikipedia.org/wiki/Entropy_(information_theory))
in a template a markdown file and then render it using verto.What device/software are you seeing this problem on?
No response
Additional Information
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: