Error in rw_cryptx_autolink()
-
The pattern “/(<a[^>]*>)<a[^>]*>/”, the 7th one down in rw_cryptx_autolink(), mangles html containing “<aside><a href=….” because the tag matcher just looks for tags starting with “a”. Note also that it omits the “i” character at the end.
I changed it to “/(<a( [^>]*)?>)<a( [^>]*)?>/i”, which works correctly.
This is in CryptX Version 3.2.12.
- The topic ‘Error in rw_cryptx_autolink()’ is closed to new replies.