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.3.2
Last Updated: 2012-2-26
Downloads: 600

Average Rating

5 stars
(2 ratings)

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