FAQ
Edit report at https://pear.php.net/bugs/bug.php?id=4936&edit=1

ID: 4936
Updated by: daniel.oconnor@gmail.com
Reported By: devurandom at gmx dot net
Summary: Nested URLs in quotes not handled
-Status: Open
+Status: Duplicate
Type: Feature/Change Request
Package: HTML_BBCodeParser
PHP Version: Irrelevant
Roadmap Versions:
New Comment:

-Status: Open
+Status: Duplicate
Bug #12187 Quote recognition in parser is broken


Previous Comments:
------------------------------------------------------------------------

[2005-10-21 11:42:54] devurandom at gmx dot net

[quote="[url=http://www.elderscrolls.com/forums/index.php?showtopic=78219&view=findpost&p=1284718]The

Elderscrolls Forums -> Multiplayer Discussion, Thread #9
[/url]"]...[/quote]

should give something like:

<tr><td><span class="genmed"><b><a
href="http://www.elderscrolls.com/forums/index.php?showtopic=78219&amp;view=findpost&amp;p=1284718"

target="_blank" class="postlink">The Elderscrolls Forums
-&gt; Multiplayer Discussion, Thread #9</a> hat folgendes
geschrieben:</b></span></td></tr>
<tr><td class="quote">...</td></tr>

------------------------------------------------------------------------

[2005-10-18 09:16:25] quipo

the links don't work anymore.

Could you please post *here* the HTML that would be the expected result?

------------------------------------------------------------------------

[2005-10-16 09:09:58] devurandom at gmx dot net

You can have a look here:
http://www.egosoft.com/forum/viewtopic.php?p=1002324#1002324

The BBCode is following:
[quote="[url=http://www.elderscrolls.com/forums/index.php?showtopic=78219&view=findpost&p=1284718]The

Elderscrolls Forums -> Multiplayer Discussion, Thread #9
[/url]"]...[/quote]

------------------------------------------------------------------------

[2005-10-15 23:34:09] seth at pricepages dot org

Could you please post the HTML that would be the expected
result?

------------------------------------------------------------------------

[2005-07-28 10:00:08] devurandom at gmx dot net

Description:
------------
With original BBCode following is possible:

[quote="[url=http://somewhere.com]URL-Title[/url]"]Quoted text[/quote]

It makes that I can click on the "cite" part of the quote.

You only parse the inner url part, so I have the "[quote=" left
unparsed.

Test script:
---------------
[quote="[url=http://somewhere.com]URL-Title[/url]"]Quoted text[/quote]

Expected result:
----------------
Create a quote with a clickable "cite" part.

Actual result:
--------------
You only parse the inner url part, so I have the "[quote=" left
unparsed.

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedJan 2, '12 at 2:11a
activeJan 2, '12 at 2:11a
posts1
users1
websitepear.php.net

1 user in discussion

Daniel Oconnor: 1 post

People

Translate

site design / logo © 2021 Grokbase