?
avatar AndrisZemitis
AndrisZemitis
4 Jun 2015

Steps to reproduce the issue

Create an article and insert this:
<p><a href="mailto:some@email.com"><span style="some: weird;">email: some@email.com</span></a></p>

Expected result

email: some@email.com

Actual result

This email address is being protected from spambots. You need JavaScript enabled to view it.'; document.getElementById('cloak33437').innerHTML += ''+addy_text33437+'<\/a>'; //-->

System information (as much as possible)

Joomla 3.4.1 without any additional plugins, modules or components.

Additional comments

avatar joomla-cms-bot joomla-cms-bot - change - 4 Jun 2015
Labels Added: ?
avatar AndrisZemitis AndrisZemitis - open - 4 Jun 2015
avatar joomla-cms-bot joomla-cms-bot - change - 4 Jun 2015
Build have no version staging
avatar AndrisZemitis AndrisZemitis - change - 4 Jun 2015
The description was changed
avatar AndrisZemitis AndrisZemitis - change - 4 Jun 2015
Title
Email Cloaking fails on with style in mailto link
Email Cloaking fails on \<span> with style in mailto link
avatar AndrisZemitis AndrisZemitis - change - 4 Jun 2015
Title
Email Cloaking fails on with style in mailto link
Email Cloaking fails on \ with style in mailto link
avatar AndrisZemitis AndrisZemitis - change - 4 Jun 2015
Title
Email Cloaking fails on \<span> with style in mailto link
Email Cloaking fails on span with style in mailto link
avatar AndrisZemitis AndrisZemitis - change - 4 Jun 2015
Title
Email Cloaking fails on \ with style in mailto link
Email Cloaking fails on span with style in mailto link
avatar brianteeman
brianteeman - comment - 8 Jun 2015

Confirmed


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7123.

avatar brianteeman brianteeman - change - 8 Jun 2015
Status New Confirmed
avatar infograf768
infograf768 - comment - 9 Jun 2015

The issue does not come from the span and style (we do take care of this when we have a pure text or pure email address in the span) but from the word "email:" in "email: some@email.com".
I.e. we do not provide for text AND address together.

For example:
<p><a href="mailto:joe@nowhere.com"><span style="font-style: 8pt;">Joe_fontsize8</span></a></p>
or
<p><a href="mailto:joe@nowhere16.com"><span style="font-size: 16pt;">joe@nowhere16.com</span></a></p>
work perfectly.

You can solve your issue by using:
<p><span style="some: weird;">email: </span><a href="mailto:some@email.com"><span style="some: weird;">some@email.com</span></a></p>

avatar brianteeman
brianteeman - comment - 19 Mar 2016

Closed as expected behaviour as explained abpve


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7123.

avatar brianteeman brianteeman - change - 19 Mar 2016
Status Confirmed Expected Behaviour
Closed_Date 0000-00-00 00:00:00 2016-03-19 22:46:25
Closed_By brianteeman
avatar brianteeman brianteeman - close - 19 Mar 2016

Add a Comment

Login with GitHub to post a comment