Plugin Directory

Replace Anchor Target

Replaces target="_blank" attribute for XHTML Strict compliance.

Selecting "Open link in a new window" in the builtin WordPress WYSIWYG editor breack XHTML strict compliance by adding the attribute target="_blank" to anchor tags. This plugin fixes the problem by replacing the target attribute with a common class attribute and then using a simple jquery script to open the link in a new window. This method allows for correct validation using XHTML 1.0 Strict.

Tags: , ,

Requires: 3.0 or higher
Compatible up to: 3.4.2
Last Updated: 2012-5-27
Downloads: 881

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1