Re: Text_Wiki link targets?

From: Date: Tue, 13 Mar 2007 19:24:01 +0000
Subject: Re: Text_Wiki link targets?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-26838@lists.php.net to get a copy of this message
On 3/13/07, Jocke Selin <the.joxor@gmail.com> wrote:
Hi, I'm trying to remove the target for the URLs generated by [http://example.com Example Link]. This WiKi markup code generates a link like this: ==== <a href="http://example.com" onclick="window.open(this.href, '_blank'); return false;">Example Link</a> ==== I'd like to remove the onClick element. Or is my only option to set it to "_self"?
Which parser are you using? The Xhtml Url renderer will only add the onclick if the target is set. Perhaps there's an option for your parser to not open links in new windows. -- Justin Patrin

« previous php.pear.general (#26838) next »