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 #5847

Interwiki XHTML Validation Fails

Details

Submitted2005-11-02 04:34 UTC
Frommeisteg at msoe dot edu
Assignedtoggg
StatusClosed
PackageText_Wiki
PHP VersionIrrelevant
OSIrrelevant
Roadmaps(Not assigned)

Comments

[2005-11-02 04:34 UTC] meisteg at msoe dot edu

Description:
------------
On line 88 of Text/Wiki/Render/Xhtml/Interwiki.php (revision 1.9), "onClick" should be "onclick" so the output is valid XHTML.

Test script:
---------------
Any script that uses the Interwiki rule and targets a specific window.

Expected result:
----------------
The output should have:

onclick="window.open(this.href, '<target>'); return false;"

in the tag for the interwiki link.

Actual result:
--------------
onClick="window.open(this.href, '<target>'); return false;"