flake8
passed.
JSHint
passed.
Review Request #13521 — Created Feb. 5, 2024 and submitted
When loading the fragments into the diff viewer page, we used
innerHTMLin order to gain a slight performance boost. When using
rendered review UI content for binary files, the contents often contain
<script>tags, and just settinginnerHTMLdoesn't work for this.
JQuery's$.html()method checks for these and changes its behavior to
do the right thing.
| Summary | ID |
|---|---|
| 90aa5f4593debb199de351a0e43a09d2678dea61 |