fix(vega-view): fix Trusted Types violation in lookup function
fix(vega-view): fix Trusted Types violation in lookup function

Trusted Types is a Content Security Policy feature that blocks insecure usage of unsafe DOM APIs such as innerHTML assignment, to prevent XSS. The lookup function assigns a string to innerHTML, causing a Trusted Types violation. This prevents users of the vega library from adopting Trusted Types.

To fix the violation, replace the innerHTML assignment with an equivalent textContent assignment. Both versions have exactly the same semantics - clearing the content of the given element - but the latter does not cause a Trusted Types violation.

vega/vega,vega/vega,vega/vega,vega/vega