#32118 [Opn->Ver]: Incorrect clickable link inside code in Your Notes:
| From: | sniper@php.net | Date: | Thu, 19 Jan 2006 15:48:18 +0000 |
| Subject: | #32118 [Opn->Ver]: Incorrect clickable link inside code in Your Notes: | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-30417@lists.php.net to get a copy of this message | ||
ID: 32118
Updated by: sniper@php.net
Reported By: php dot osde dot info at oths dot co dot uk
-Status: Open
+Status: Verified
Bug Type: Website problem
Operating System: any
PHP Version: Irrelevant
Previous Comments:
------------------------------------------------------------------------
[2005-02-26 07:16:34] php dot osde dot info at oths dot co dot uk
Description:
------------
When a URL with trailing slash inside single quotes inside a code
snipit is turned into a clickable link the closing ' is included in the
link.
Reproduce code:
---------------
<?php
$url = "http://www.osde.info/";
?>
<?php
$url = 'http://www.osde.info/';
?>
Expected result:
----------------
<span class="string">"<a href="http://www.osde.info/"
target="_blank">http://www.osde.info/</a>"</span>
<span class="string">'<a href="http://www.osde.info/"
target="_blank">http://www.osde.info/</a>'</span>
Actual result:
--------------
<span class="string">"<a href="http://www.osde.info/"
target="_blank">http://www.osde.info/</a>"</span>
<span class="string">'<a href="http://www.osde.info/'"
target="_blank">http://www.osde.info/'</a></span>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32118&edit=1