Skip to content

Commit

Permalink
Set a proper doctype for the open window template (#8095)
Browse files Browse the repository at this point in the history
  • Loading branch information
Telumire authored Mar 27, 2024
1 parent 90a6f31 commit 32cbd53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/modules/startup/windows.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ exports.startup = function() {
return;
}
// Initialise the document
srcDocument.write("<html><head></head><body class='tc-body tc-single-tiddler-window'></body></html>");
srcDocument.write("<!DOCTYPE html><head></head><body class='tc-body tc-single-tiddler-window'></body></html>");
srcDocument.close();
srcDocument.title = windowTitle;
srcWindow.addEventListener("beforeunload",function(event) {
Expand Down

0 comments on commit 32cbd53

Please sign in to comment.