Skip to content

Orphan links in doc.summary() #153

Open
@adbar

Description

@adbar

Hi,

a user run into this bug: adbar/trafilatura#21
There are links which end up being orphans between paragraphs, which messes up text rendering and conversion. The problem comes from the output of readability-lxml:

<p>Среди жанров многопользовательских игр MMOFPS занимают одну из лидирующих позиций, наряду с </p><a href="https://gametarget.ru/mmorpg/">MMORPG</a><p> и </p><a href="https://gametarget.ru/feature/moba/">MOBA</a><p>. (https://gametarget.ru/mmofps/)

Could you please have a look at it?

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