Issue #3631097: Additional Tel CSS Classes are applied to mailto links, and mailto/tel links also receive the Additional Link CSS Classes

Fixes https://www.drupal.org/project/extlink/issues/3631097

  • Apply the additional tel classes to telLinks instead of mailtoLinks.
  • Only fall back to the additional link classes in applyClassAndSpan() for external links (className === 'ext').
  • testExtlinkAdditionalCssClasses() now asserts that each link type only receives its own additional classes, with and without extlink_img_class. It fails without the fix.

Merge request reports

Loading
Loading