We're finding a lot of tech debt in Cite which can be tracked in this bug.
Suggested fixes:
- ReferenceStack shouldn't be responsible for final numbering, that can be moved to the footnote mark renderer.
- Can the stack rollback concept be deprecated?
- Render errors in the footnote and not in article text.
- Always use StatusValue to tranfer errors, rather than immediately rendering errors as HTML.
Patches