Browse Source

Fix rendering of trust dialog

Steven Silvester 7 years ago
parent
commit
1b0e454c9d
1 changed files with 3 additions and 1 deletions
  1. 3 1
      packages/notebook/src/actions.ts

+ 3 - 1
packages/notebook/src/actions.ts

@@ -1015,8 +1015,10 @@ namespace NotebookActions {
         buttons: [Dialog.okButton()]
       }).then(() => void 0);
     }
+    let body = document.createElement('div');
+    body.innerHTML = TRUST_MESSAGE;
     return showDialog({
-      body: TRUST_MESSAGE,
+      body,
       title: 'Trust this notebook?',
       buttons: [Dialog.cancelButton(), Dialog.warnButton()]
     }).then(result => {