[search addon] Make compatible with Trusted Types
[search addon] Make compatible with Trusted Types

https://web.dev/trusted-types/ doesn't allow string innerHTML assignments. This change avoids it by using DOM instead.

nightwing/CodeMirror,hackmdio/CodeMirror,dperetti/CodeMirror,pabloferz/CodeMirror,hackmdio/CodeMirror,hackmdio/CodeMirror,dperetti/CodeMirror,nightwing/CodeMirror,dperetti/CodeMirror,pabloferz/CodeMirror,nightwing/CodeMirror,pabloferz/CodeMirror