Fixed List bb-code does not round-trip successfully with empty line after a nested list

Xon

Well-known member
Affected version
2.2.1

[list]
[*]a[list]
[*]b
[/list]

c[/list]


Clicking edit it becomes;


[list]
[*]a[list]
[*]b
[/list]
[*]

c[/list]


Example;
  • a
    • b

    c

But without the nested list it works;
  • a

    c
 
Basically, bb-code => html => bb-code is not round-tripping as expected.

This is most noticeable when toggling editor bb-code mode off/on, but isn't occurring when clicking preview or posting.
 
Last edited:
I think this might've been a Froala bug as I can reproduce it against 2.2.1 but I can't against the 2.2.2 development version (here). The only relevant difference I can see is the Froala update that was done.

So bonus, I think we can mark this as fixed. :)
 
Back
Top Bottom