Skip to content
New issue

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

WHITELIST_TAGS don't work #139

Open
mahdi-marjani-moghadam opened this issue Jul 22, 2024 · 1 comment
Open

WHITELIST_TAGS don't work #139

mahdi-marjani-moghadam opened this issue Jul 22, 2024 · 1 comment

Comments

@mahdi-marjani-moghadam
Copy link

I used WHITELIST_TAGS in setting.py but don't work.

markdownify.markdownify("sdf<ul><li><b>aaa</b></li></ul>", heading_style="ATX", whitelist_tags=["ul", "li"])

please help me :(

@trustmaster
Copy link

@mahdi-marjani-moghadam that option is called convert:

markdownify.markdownify("sdf<ul><li><b>aaa</b></li></ul>", heading_style="ATX", convert=["ul", "li"])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants