Spamspan displays last anchor attribute if no text is given

Created on 14 July 2023, 12 months ago

Problem/Motivation

If we use anchor tags without text content or simply an icon, the last attribute of the anchor tag / icon will be rendered as its content instead!

Steps to reproduce

  • Use the filter format on an anchor tag structured as follows:
<a href="mailto:example@email.com"></a>

or

<a href="mailto:example@email.com">
  <i class="my-icon"></i>
</a>
  • The anchor tag will be broken

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: cannot reproduce

Version

3.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany Grevil

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024