Fixed 2 lines are combined to 1 after styling


Well-known member
Reference to this test thread:

1. Write two different lines with a * at the beginning without any styling.
2. Copy-paste them to the editor and make a color and bold styling on the first line. When doing so, double click on the first line, so it would choose the entire line and not just the intended text.
3. Post the message

Watch the following video (720p):

This was tested with Chrome 31 OS X 10.9.1


XenForo developer
Staff member
I've made a small change to the HTML-to-BB-code parsing to fix this. It was specific to the HTML being in the form of:
<b>text<br /></b>more text
Hopefully this won't cause further issues -- this code is a bit black magic. :)