Removes / breaks more complex link contents

Created on 21 June 2023, over 1 year ago
Updated 7 August 2024, 4 months ago

Problem/Motivation

Needing a more complex link structure to display the email link combined with other elements like icons / symbols:

<a class="item icon-combo icon-combo--linked align-middle icon-combo--ico-position-left" href="mailto:info@example.com" target="_blank">
    <i class="icon-combo__icon ico ico-mail ico--lg bg-white text-black ico--circled ico--center" aria-hidden="true"></i>
    <div class="icon-combo__text-wrapper">
      <div class="icon-combo__text">info@example.com</div>
    </div>
  </a>

Sadly now with obfuscate_email enabled, all the link contents are being replaced by the email address, which makes the module unusable on the whole project.

The result with obfuscate_email enabled is:
info@example.com

Steps to reproduce

Enable obfuscate_email filter for a text format
Use the example above in a text using that format to reproduce the issue

Proposed resolution

Ensure online the email address is replaced and all other structures are preserved

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Postponed: needs info

Version

2.0

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

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

Comments & Activities

Production build 0.71.5 2024