two bugs: please fix
-
Hi Ralf,
I found two bugs:
First:
If you have whitespaces between<a>
and</a>
CryptX doesn’t work.
The Regex at line 226 in functions.php should be/<a (.*?)(href=("|\')mailto:(.*?)("|\')(.*?)|)>\s*(.*?)\s*<\/a>/i
Second:
If you have declared a target in an anchor CryptX doesn’t work correctly.
So you have to add at line 238 in functions.php:
$return = preg_replace('/target=((\"(.*?)\")|(\'(.*?)\'))/i', '', $return);
Regards
Patrick
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘two bugs: please fix’ is closed to new replies.