Opened 9 years ago

Last modified 9 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 9 years ago by Jakub Ś

Keywords: bbcode removed
Status: newconfirmed
Version: 4.4.74.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.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy