PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Text » Text_Wiki » Bug #3387

mailto link includes javascript

Details

Submitted2005-02-06 01:11 UTC
Fromryansking at php dot net
Assignedpmjones
StatusClosed
PackageText_Wiki
PHP Version5.0.3
OSmac os x
Roadmaps(Not assigned)

Comments

[2005-02-06 01:11 UTC] ryansking at php dot net

Description:
------------
mailto links include javascript that opens a new window

Reproduce code:
---------------
when creating a mailto: link with wikicode like this:

[mailto:ryansking@php.net ryan king]

It renders xhtml like this:

<a href="mailto:ryansking@php.net" onclick="window.open(this.href, '_blank'); return false;">

Expected result:
----------------
<a href="mailto:ryansking@php.net" >

Actual result:
--------------
<a href="mailto:ryansking@php.net"
onclick="window.open(this.href, '_blank'); return
false;">