We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following code (taken from the documentation)
import markdown from mdx_bleach.extension import BleachExtension bleach = BleachExtension() md = markdown.Markdown(extensions=[bleach])
gives an error:
Traceback (most recent call last): File "/home/emanuele/mdx_bleach/test.py", line 5, in <module> md = markdown.Markdown(extensions=[bleach]) File "/home/emanuele/mdx_bleach/venv/lib/python3.10/site-packages/markdown/core.py", line 126, in __init__ self.registerExtensions(extensions=kwargs.get('extensions', []), File "/home/emanuele/mdx_bleach/venv/lib/python3.10/site-packages/markdown/core.py", line 181, in registerExtensions ext.extendMarkdown(self) TypeError: BleachExtension.extendMarkdown() missing 1 required positional argument: 'md_globals'
versions:
> pip freeze bleach==6.1.0 Markdown==3.5.1 mdx-bleach==0.1.4 six==1.16.0 webencodings==0.5.1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following code (taken from the documentation)
gives an error:
versions:
The text was updated successfully, but these errors were encountered: