Bug Custom BBcode and extra line breaks

There is a bug in this version
D

Darat

Guest
I have created a highlighter custom bbcode which is just a simple replacement html <span style> but no matter what I do if I add a button for it on the editor this is what happens for me and my users:

This is what happens when
[HILITE]applying the Highlighter[/HILITE]
custom bbcode via the button in the editor

It inserts a line break before the code and one after.

It also does this on two other simple bbcodes I've added.

Continue reading...