PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

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;">