to accept "" on [url]
iKillBill2 - November 21, 2008 - 12:57
| Project: | Bbcode |
| Version: | 5.x-2.1 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed |
Jump to:
Description
Hi
we have a drupal 5.12 for frontpage an dinvisionboard for forum
we often create a thread on furm for news announcement and then copy its bbcode to drupal
However, I find that Drupal's bbcode module do not support
[code]
[url="http://123.com"] 456 [/url]
[/code]
We then have to remove "" to make it work.
This is annoying because often we have a more than 10 links on page and we have to do a lot of manualy work
any idea how to fix this please?
thanks

#1
Can you please prepare a patch for this?
#2
yes, that would be good! please!
#3
This Issue is presnt in 6.x-1.2 too, can anyone find a patch for this?
edit: I created my own mymodule_filter that does an str_replace in the "prepare" operation to solve the problem
case 'prepare':$text = str_replace("[url=\"", "[url=", $text);
$text = str_replace("\"]", "]", $text);
return $text;