When an email link parameter contains values with characters such as #, ( or ), among others -
< a href="mailto:email @ ..." style="color: #00F">email @ ...< /a>
only the latter pattern in the _clock function is matched and thus the code becomes broken.
Created an article with content <p>E-mail me at <a style="color: #00f;" href="mailto:michael.babker@joomla.org">michael.babker@joomla.org</a></p> and this screenshot shows the result pre-patch:
Applied patch and got the following result:
Looked at the HTML source code for each, seems like the expected result is returned here.
@test
Works fine here. No unwanted consequences on other types of styling.
We need also a backport for 2.5.x