joomla/joomla-cms — pull request #3967 by Harmageddon (2014-07-25 18:50:53+00:00)
Title: Fixing bugs for emailcloak plugin

Hi everyone!

This PR tries to adapt changes that were made to the 3.x version of the emailcloak plugin. These changes fixed several bugs, so they should be implemented in 2.5.x, too. One of these bugs is #3956, which was fixed for 3.x yesterday.
As I don't have much time to test this PR right now, I ask you to test this thoroughly, so that we don't have to release three more versions until mailcloaking works again. I'll test the PR tonight or tomorrow by myself. But because this fixes some major and urgent bugs, I'm proposing it only rarely tested.

## Testing instructions
Please test **all** variants to use this plugin:
1. ```email@example.org```
2. ```text```
3. ```email@example.org```
4. ```text```
5. ``````
6. ```email@example.org```
7. ```text```
8. ``````
9. plain ```email@example.org```
...and please test all of these variants with attributes, such as class and style attributes before and after the href attribute.