MBS-7779: Don't use HTML entity for no-break space

Use the Unicode character for a no-break space directly, instead of
its HTML entity which will be escaped.
Simplify indenting code in build_options_tree
MBS-7782: beta: mini-relationship-editor breaks on recording edit forms with attached works
Use a generic template to render annotation edits
Update historic add release annotation edit to match new edits
Use an array for URL cleanup regexes
Merge branch 'mbs-7782' into beta

* mbs-7782:
  MBS-7782: beta: mini-relationship-editor breaks on recording edit forms with attached works
Merge branch 'url-matching-arrays' into beta

* url-matching-arrays:
  Use an array for URL cleanup regexes
Add var keyword to avoid global declaration
Merge remote-tracking branch 'nikki/templates-annotations' into beta

* nikki/templates-annotations:
  Update historic add release annotation edit to match new edits
  Use a generic template to render annotation edits
Merge remote-tracking branch 'chirlu/mbs-7779' into beta

* chirlu/mbs-7779:
  Simplify indenting code in build_options_tree
  MBS-7779: Don't use HTML entity for no-break space