User story:
As VE user I want to be able to correctly see and save sub-refs when main and details content are part of one reference tag.
Background:
This task is about wiring the edited main ref back into a main+details ref where it came from. Currently, editing a main ref (adding text "NEW") will save it in list-defined references:
Acceptance criteria:
Assume Wikitext like:
<ref name="main-ref" details="p. 123">Old main text</ref>
After editing either the main or the details content it should result in Wikitext like
<ref name="main-ref" details="p. 123">New main text</ref>