A table is rendered correctly during preview/live-edit, but problems occur after saving.
Steps to reproduce:
- Using this section https://en.wikipedia.org/w/index.php?title=User:Quiddity_%28WMF%29/sandbox&oldid=680711195 (taken from an actual talkpage)
- Copy the entire rendered section, from above the ==RfC== header, past the table, down to anywhere below the table.
- paste that content into either:
- a VisualEditor-mode sandbox
- a new post in a Flow sandbox, using VE-edit-mode.
- It will look mostly as expected during the edit,* but shows problems with the table upon saving.
*unexpected during preview, are the ↵arrows, which don't match linebreaks in the source text.
Scenario A) example at https://en.wikipedia.org/w/index.php?title=User:Quiddity_%28WMF%29/sandbox&oldid=680707793
Preview (looks mostly good):
Outcome:
The main missing bit, is a crucial |-: (although it also added a jquery-tablesorter which was unexpected (by me), and many erroneous linebreaks)
Scenario B) example at https://en.wikipedia.org/w/index.php?title=Topic:Sosjy6pjhih092j2&topic_showPostId=sosk8798djw6mz2k#flow-post-sosk8798djw6mz2k
Preview:
Outcome:
The wikitext of the outcome, has the same problems as Scenario A, but also adds an unexpected title="Sort ascending" class="headerSort" | to each of the headers: