Skip to content

[BUG] Child element styles (bold, color, etc.) are ignored inside anchor tags #1502

@nayu104

Description

@nayu104

Describe the bug:
When using styled elements like <strong>, <em>, or inline styles inside an <a> tag with an href attribute, the child element styles are completely ignored. Only the parent anchor's default style (blue + underline) is applied.

HTML to reproduce the issue:

<a href="https://example.com">
  This is <strong>bold</strong> and <span style="color: red;">red text</span>
</a>

A picture of a cute animal (not mandatory but encouraged)

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions