Closed (won't fix)
Project:
Bbcode
Version:
master
Component:
BBCode Tags
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Feb 2007 at 20:21 UTC
Updated:
1 Apr 2008 at 09:57 UTC
Jump to comment: Most recent file
Comments
Comment #1
naudefj commentedCan you change your quote tags to
[quote="mycrazynic"]I said something crazy[/quote]or, even better...
[quote=mycrazynic]I said something crazy[/quote]Comment #2
neclimdulI could... but his drupal name is [mycrazynic] which is apparently allowed. (though I'm using mycrazynic instead of the actual name). He's an active user on the site I'm converting and it doesn't make sense to either have him change his name or have everyone modify their quotes. Not to mention all the fixes to previous quotes I'd have to make...
Comment #3
naudefj commentedI've tried to create a user like that, however Drupal does not allow it. Anyway, it would be easier to cleanup your users than to add support for this in BBCode.
Comment #4
STINGER_LP commentedguys, I have a problem: I installed bbcode_wysiwyg.module, enable it in drupal settings. bbcode formating bar appeared, everything looks good, but when i push preview button the tags do not modify the test, instead text it show [b]text[/b]
in "Input formats" menu BBcode doesn't exist
Comment #5
naudefj commentedSo, why did you post your problem under this thread? Your problem is not even closely related to the topic? I would suggest opening new topics for new issues.
Besides, bbcode and bbcode_wysiwyg is not maintained by the same group. We cannot help you with bbcode_wysiwyg problems here.
Comment #6
Takafumi commentedI provide a patch for this issue. Please review this patch.
If patch is applied, it will be escaped to character entity when ']' is in single or double quotation marks.
e.g.
[quote="[foo]"]Hello, Drupal.[/quote] => [foo] wrote:
[quote='[foo]']Hello, Drupal.[/quote] => [foo] wrote:
[quote="bar]["]Hello, Drupal.[/quote] => bar][ wrote:
[quote="]]][b][a][r][[["]Hello, Drupal.[/quote] => ]]][b][a][r][[[ wrote:
Comment #7
Takafumi commentedcategory change ;)
Comment #8
naudefj commentedThis patch breaks the table [row] tags. For example, try this:
Comment #9
Takafumi commentedI tried it. However, it seems to be outputted correctly.
outputted HTML as follows;
Comment #10
Takafumi commentedEven when it replaces to this patch, does break occur?
Comment #11
naudefj commentedYes, it still breaks.
Not sure why - we may be using different PHP versions. I'm on 4.3.9.
Comment #12
Takafumi commentedThere was a bug in patch #10. Updated it.
Comment #13
naudefj commentedStill no luck. My output:
Comment #14
Takafumi commentedIt seems that quotation mark will be converted to
"before processing.Try this patch.
Comment #15
naudefj commentedThis patch is still giving me problems.
Anyone else who can test it as well?
Comment #16
naudefj commentedMore testing is required.
If nobody else is interested we can as well close this ticket.
Comment #17
naudefj commentedAre you still interested in getting this patch fixed and submitted? If not, can we close this issue?
Comment #18
Takafumi commentedI'm not interested in this issue no longer.
Please close that.