Parsoid removes all newlines from the page when editing a table inside a list item :{|.
Example: (in this edit, I typed "a" after the "test" in the a section)
https://en.wikipedia.org/w/index.php?title=User:Matma_Rex/sandbox&diff=930049246&oldid=930049140&diffmode=source
My guess is that the list item puts Parsoid into a single-line context, which tries to render the rest of the page as if it was a single list item, with no newlines.