Skip to content

Commit 2f531e4

Browse files
Explicitly specify content-type in prompt template (#1729)
* Explicitly specify content-type in prompt template * Update src/dialogs/prompt/template.js Co-authored-by: Marcin Rataj <[email protected]> Co-authored-by: Marcin Rataj <[email protected]>
1 parent 0aadd7c commit 2f531e4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/dialogs/prompt/template.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
module.exports = ({ pallette, message, defaultValue, buttons, id }) => (`<!DOCTYPE html>
22
<html>
3+
<head>
4+
<meta charset="utf-8" />
5+
</head>
36
<body>
47
<p>${message}</p>
58
<input type="text" value="${defaultValue}" />

0 commit comments

Comments
 (0)