Mailto links don't have same Exclude Class Checks

Created on 21 October 2020, over 4 years ago
Updated 10 July 2024, 7 months ago

Problem/Motivation

The "Exclude links inside these CSS selectors." for Mail To links does not have the same check against the current elements classes as the external links do. It only checks for parent classes, so a "no-icon" class on a mail to link will get an icon, while the external link does not.

Steps to reproduce

Add `.no-icon` to the Exclude area of the config, put a link on the page such as <a href="mailto:" class="no-icon">email</a> and that link will get an icon

Proposed resolution

Add same check using `$(this).is(extCssExclude)` that the external link logic has.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States NicholasS

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024