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

& are not converted in links

Details

Submitted2004-06-13 23:13 UTC
Fromaenti99 at student dot vxu dot se
Assignedpmjones
StatusClosed
PackageText_Wiki
PHP VersionIrrelevant
OSLinux 2.4
Roadmaps(Not assigned)

Comments

[2004-06-13 23:13 UTC] aenti99 at student dot vxu dot se

Description:
------------
The freelinks and url rules: Ampersands are not converted to html entities. When a ampersand is in a url or freelink the parser outputs xml or xhtml document that's not well formed.

Reproduce code:
---------------
((A free & good link))

[http://go.to?a=1&b=2]

Expected result:
----------------
<a href="index.php?title=A free & good link">A free & good link</a>

<a href="http://go.to?a=1&b=2">1</a>

Actual result:
--------------
<a href="index.php?title=A free & good link">A free & good link</a>

<a href="http://go.to?a=1&b=2">1</a>