Ref 2: A missing flush of accumulated expander text in `example_end` caused the bracket to become part of the plain text after the example instead of being part of it.

Ref 1: Fixed as envisioned

Fixed with commit [f5786278a4].

Version bump 1.5.5.

Thank you for the report.