User story:
As a VE user when I edit a page that includes sub-refs with details and save it again, it should not break in-depended of the order on how main and sub content appear.
Acceptance criteria:
Following cases should work whiteout breaking the Wikitext when saving back from VE
- Main before sub
- Sub before main
- Main in reflist
- Main and sub inline