The EpiDoc XSLT Stylesheets currently have a template that uses Regex to remove closing immediately followed by opening square brackets (i.e. ][ or ] [)--that are artifacts of <supplied reason=lost> or <gap>.
We also need to do the same for angle brackets (artefacts of <supplied reason=ommitted> etc.).
Nicholas will investigate txt-tpl-sqbrackets.xsl and propose a solution.
Check out the “sqbrackets-correction-(ticket-191)” branch on GitHub (https://github.com/EpiDoc/Stylesheets/tree/sqbrackets-correction-(ticket-191)) for review.