Skip to content

Links not working when an other tag is inside the <a> tag and tags not working in general within <a> tags #515

@DFelten

Description

@DFelten

I tried the current master and encountered a problem. The links are now wrapping, which looks much nicer. But there is a problem with tags within the links.

As soon as there is another tag within the a tag, the links no longer work.

Reduced example html:

<ul>
<li><a href="https://www.kostenlos.de/dealdoktor-gewinnspiel"><b>200€ MediaMarkt-Gutschein GEWINNEN</b></a> 🍀</li>
<li><a href="https://www.kostenlos.de/dealdoktor-gewinnspiel"><strong>200€ MediaMarkt-Gutschein GEWINNEN</strong></a> 🍀</li>
<li><a href="https://www.kostenlos.de/dealdoktor-gewinnspiel">200€ MediaMarkt-Gutschein GEWINNEN</a> 🍀</li>
</ul>

The first two links don't work, but the third one does. As soon as the <b> or <strong> tag is removed, the link works again. In addition, the links are no longer styled.

Here we used the commit id (b71e9a3):

With the latest master (e5e24d0):

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