Email cloak broken when link parameters are not parsed (backport #4354)

Backport from #4354:

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.