Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The span class="element-invisible" tags added by this module contain a space between the tags for mailto and external links. This interferes with the UI if punctuation follows the link text.
Reproduce:
<p>I created this in <a href="http://www.drupal.org">Drupal</a>.</p>
Expected:
I created this in Drupal.
Actual:
I created this in Drupal .
(Spacing inserted before punctuation)
Comment | File | Size | Author |
---|
Comments
Comment #3
vivify CreditAttribution: vivify commentedSorry new to this. Is it the pathing? Its just removing spaces in 2 lines
Comment #4
vivify CreditAttribution: vivify commentedComment #5
vivify CreditAttribution: vivify commentedComment #7
vivify CreditAttribution: vivify commentedComment #9
vivify CreditAttribution: vivify commentedComment #11
vivify CreditAttribution: vivify commentedComment #12
akalata CreditAttribution: akalata commentedHi vivify, I was not able to confirm any visual changes when using your patch -- I still see the extra space.
But a big THANK YOU for helping me to see the simple solution for me, which is to add
display: inline-block
to the CSS forspan.ext
.Comment #13
Omar AlahmedHi,
extlink.min.js file also has extra space and it's loaded, so it should be included in the patch.
Comment #14
vivify CreditAttribution: vivify commented@akalata Works for me. The source contains with a space between the tags. The patch should remove that.
@Omar Alahmed thanks for remembering the min file.
Comment #15
elachlan CreditAttribution: elachlan commentedIt's now committed.
Comment #17
vivify CreditAttribution: vivify commentedShould be re-opened. Subsequent commits overrode this change. Commit #92a73b4966e030f8fad01cb7fdf3359621c0997e
Comment #18
jcmartinezPlease, reopen this issue. It is still happening.
Comment #19
elachlan CreditAttribution: elachlan commentedSubmit a patch and I'll add it in.
Comment #21
elachlan CreditAttribution: elachlan commented