Opened 10 years ago
Last modified 10 years ago
#12934 confirmed Bug
Plugin bbcode: type error + unexpected result
Reported by: | ripieces | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.0 |
Keywords: | Cc: |
Description
If there are more closing that opening tags, it will cause a type error in JavaScript, example:
[/u]
This can be fixed with additional checks for candidate in parser.onTagClose, but not sure if it's the correct way to do it.
Also this BB code doesn't behave as expected:
[ [u]Test[/u] ]
Should result in underlined Test in square brackets. This requires an additional fix in bbcPartsRegex I guess (for example not matching another opening square bracket).
Change History (1)
comment:1 Changed 10 years ago by
Keywords: | bbcode removed |
---|---|
Status: | new → confirmed |
Version: | 4.4.7 → 4.0 |
Error gets thrown from CKEditor version 4.0.
In 4.0 beta error is not thrown but closing tag is not preserved. This closing tag was missing from CKEditor version 3.6.