First issue: BBcode with html 'code' does not parse bbcode that user put inside even if they are used outside html 'code'
Code: Select all
[test]{TEXT}[/test]
Code: Select all
<div style="border: 5px solid red;">{TEXT}</div>
<div style="border: 5px solid red;"><code>{TEXT}</code></div>
Second issue: User cannot create bbcode in to variants like 'test' and 'test='
Code: Select all
[test]{TEXT}[/test]
Code: Select all
[test='{TEXT2}']{TEXT}[/test]
Also, even if user create bbcode like 'test=', durign posting bbcode button put only 'test'.
Third issue: When user create bbcode with multiple tokens, other bbcodes cannot be parsed in this custom bbcode.
BBcodes like that:
Code: Select all
[test]{TEXT}[sometext]{TEXT2}[/test]
Code: Select all
[test]{TEXT}&{TEXT2}[/test]
Code: Select all
<div style="border: 5px solid red;">{TEXT}</div>
<div style="border: 5px solid red;">{TEXT2}</div>
Code: Select all
[test]Zz[b]z[/b]zz[sometext]Yy[b]y[/b][/test]
Code: Select all
[test={TEXT}]{TEXT2}[/test]
Fourth issue: If admin create bbcode with multiple TOKENS user needs to type something in place of every token or bbcode wont be parsed.
BBcodes like that:
Code: Select all
[test]{TEXT}[sometext]{TEXT2}[/test]
Code: Select all
[test]{TEXT}&{TEXT2}[/test]
Code: Select all
<div style="border: 5px solid red;">{TEXT}</div>
Those need text in every token or entire bbcode wont be parsed.
This wont happen if there is only one token or when user create bbcode like:
[code][test={TEXT}]{TEXT2}[/test]
So, First and third issues are important for me. Third is critical, without this I need to back to phpbb3.1.