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

Get keyError when parsing text with html tag #14

Open
yangyaofei opened this issue Aug 17, 2022 · 0 comments
Open

Get keyError when parsing text with html tag #14

yangyaofei opened this issue Aug 17, 2022 · 0 comments

Comments

@yangyaofei
Copy link

yangyaofei commented Aug 17, 2022

convert_for_mw('[[𨭎|-{zh-cn:-{钅}-<span style="position: relative; left: -1ex">-{喜}-</span>; zh-tw:𨭎; zh-hk:𨭎;}-]]', "zh-cn") 

This text above will raise a keyError, and you can get this page from https://zh.wikipedia.org/wiki/%E9%92%A8

@yangyaofei yangyaofei changed the title get keyError when parsing get keyError when parsing text with html tag Aug 17, 2022
@yangyaofei yangyaofei changed the title get keyError when parsing text with html tag Get keyError when parsing text with html tag Aug 17, 2022
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