Change ‘target=_blank’ to be XHTML friendly
-
Hi,
On the website I setup the contributors really want external links to open in a new window. I’ve argued against this but I’m not going to win this argument.
If you select ‘open in new window’ when you put a link in the visual editor it adds:
target="blank"
to the link. This however is not valid XHTML.is there anyway I can edit the source files to make it add:
onclick="targetBlank(this.href);return false;"
instead?if anyone knows where I can locate this in the code I will be hugely grateful.
Thanks!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Change ‘target=_blank’ to be XHTML friendly’ is closed to new replies.