ether / etherpad-lite

Etherpad: A modern really-real-time collaborative document editor.
http://docs.etherpad.org/
Apache License 2.0
16.52k stars 2.84k forks source link

Infinite loop on ENTER/LEAVE when numbered list gets too long #5546

Open nixxquality opened 2 years ago

nixxquality commented 2 years ago

Describe the bug When a numbered list reaches around 320 elements if you try to add a new line you will be disconnected from the pad and put in an ENTER/LEAVE loop. When you refresh your change will be undone.

To Reproduce Steps to reproduce the behavior:

  1. Create a new pad
  2. Start a numbered list
  3. Just write a and press enter 320 times
  4. When you get to 321 or 322 you will be kicked out

Expected behavior Numbered lists should be as long as they need to be

Server:

Desktop:

DooMMasteR commented 2 years ago

might be related to #5454 i guess.