Skip to content

Get keyError when parsing text with html tag #14

Open
@yangyaofei

Description

@yangyaofei
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions