Skip to content

Link element returns empty string #11

@Huy-Ngo

Description

@Huy-Ngo

I'm trying to parse HTML from Wiktionary. Words appearing in <a> tags are not added to the final result. For example:

HTML:

<span class="Latn" lang="en" about="#mwt127" typeof="mw:Transclusion"><a rel="mw:WikiLink" href="/wiki/yet#English" title="yet">yet</a>, <a rel="mw:WikiLink" href="/wiki/not_yet#English" title="not yet">not yet</a></span>

Expected output: yet, not yet
Actual output: ,

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