{"id":690888,"date":"2008-02-03T18:34:56","date_gmt":"2008-02-03T18:34:56","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/target_blank-2-2\/"},"modified":"2016-08-19T00:14:32","modified_gmt":"2016-08-19T00:14:32","slug":"target_blank-2-2","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/target_blank-2-2\/","title":{"rendered":"target=_blank"},"content":{"rendered":"<p>I&#8217;m using wordpress mu. The html editor strips out &#8220;target=_blank&#8221; code. This is true whether you uncheck &#8220;WordPress should correct invalidly nested XHTML automatically&#8221; at Options &#8211;&gt; Writing &#8211;&gt; Writing Options.<\/p>\n<p>I&#8217;ve read <a href=\"http:\/\/weblogtoolscollection.com\/archives\/2004\/01\/02\/targetblank-xhtml-10-strict-conversion\/\">this article<\/a>. I&#8217;d like to see a fix for the problem. I rely heavily on opening documents in new windows using the target=blank method.<\/p>\n<p>I&#8217;d like to add this: onclick=&#8221;window.open(this.href, &#8216;_blank&#8217;); return false;&#8221; to replace the target=&#8221;_blank&#8221; in the html editor. Rather than try to reinvent the wheel, has anyone already got a quick edit recipe in the wordpress html editor?<\/p>\n","protected":false},"template":"","class_list":["post-690888","topic","type-topic","status-closed","hentry","topic-tag-target-blank"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/690888","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/690888\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=690888"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}