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

convert_hn isn't being used properly #238

Open
derenrich opened this issue Dec 31, 2024 · 0 comments
Open

convert_hn isn't being used properly #238

derenrich opened this issue Dec 31, 2024 · 0 comments

Comments

@derenrich
Copy link

it seems you intended to override the convert_hn function in markdownify but that function is actually called _convert_hn (see the source).

So I think that function never actually gets called. And if it were called it would not work properly as it would call a non-existent function.

Changing it to _convert_hn fixes it though I'm not actually sure this patch is needed at all.

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

1 participant