Skip to content

Commit 10510ba

Browse files
vranamarijnh
authored andcommitted
[vim bindings] Make compatible with Trusted Types
1 parent 3362178 commit 10510ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

keymap/vim.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@
661661
this.latestRegister = registerName;
662662
if (cm.openDialog) {
663663
this.onRecordingDone = cm.openDialog(
664-
'(recording)['+registerName+']', null, {bottom:true});
664+
document.createTextNode('(recording)['+registerName+']'), null, {bottom:true});
665665
}
666666
this.isRecording = true;
667667
}

0 commit comments

Comments
 (0)