• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Editor - blank line between two formated lines (for ie: bold/italic) are eaten

Mike

XenForo developer
Staff member
#2
Looks like my change to simplify the output BB code as far as possible has re-exposed this.
 

cclaerhout

Well-known member
#3
Looks like my change to simplify the output BB code as far as possible has re-exposed this.
I'm curious, do you use an iterator (prev, next, rewind) like you did with the parser or do you use some regex callbacks to "pre-parse/fix" (I'm not sure of the name) the html<=>bbcode converter?
 

cclaerhout

Well-known member
#5
This should be fixed now.

It is using regexes, but it's using the BB code parser to help understand things in more detail.
Just a link to the SCEditor that seems to have a pure JS html<=>bbcode converter&parser which works very well (code available on Github).
Edit: oups, it still not perfect.
 
Last edited: