Home » HTML » HTML_BBCodeParser » Bug #4936
Nested URLs in quotes not handled
Details
| Request #4936 | Nested URLs in quotes not handled |
|---|---|
| Submitted | 2005-07-28 14:00 UTC |
| From | devurandom at gmx dot net |
| Status | Duplicate |
| Package | HTML_BBCodeParser |
| PHP Version | Irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2005-07-28 14:00 UTC] 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.
[2005-10-16 03:34 UTC] seth at pricepages dot org
Could you please post the HTML that would be the expected
result?
[2005-10-16 13:09 UTC] 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-21 15:42 UTC] 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&view=findpost&p=1284718"
target="_blank" class="postlink">The Elderscrolls Forums
-> Multiplayer Discussion, Thread #9</a> hat folgendes
geschrieben:</b></span></td></tr>
<tr><td class="quote">...</td></tr>