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
If markdown contains code with text that could be interpreted as html (eg. using "<" rather than entity escaping it), the text interpreted as a tag deleted. Eg
>>> md = Markdown("Do something if 0<foo or foo>10")
>>> console.print(md)
Do something if 010
Unless there's actual support for html, I think the html_inline rule should be disabled (or if this is used by something, add an option for markdown without html?). Changing the first line of markdown.Markdown.init to:
Describe the bug
If markdown contains code with text that could be interpreted as html (eg. using "<" rather than entity escaping it), the text interpreted as a tag deleted. Eg
Unless there's actual support for html, I think the html_inline rule should be disabled (or if this is used by something, add an option for markdown without html?). Changing the first line of markdown.Markdown.init to:
Seems to resolve the issue.
Platform
Click to expand
Running on linux, rich 13.9.4, wezterm terminal.
The text was updated successfully, but these errors were encountered: