mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-04-12 13:53:13 +00:00
Fix bag static HTML to show emoji correctly
This commit is contained in:
parent
066e553f84
commit
b1edbed6a5
@ -32,6 +32,13 @@ exports.handler = function(request,response,state) {
|
||||
response.writeHead(200, "OK",{
|
||||
"Content-Type": "text/html"
|
||||
});
|
||||
response.write(`
|
||||
<!doctype html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
</head>
|
||||
<body>
|
||||
`);
|
||||
// Render the html
|
||||
var html = $tw.mws.store.adminWiki.renderTiddler("text/html","$:/plugins/tiddlywiki/multiwikiserver/templates/get-bags",{
|
||||
variables: {
|
||||
@ -40,6 +47,9 @@ exports.handler = function(request,response,state) {
|
||||
}
|
||||
});
|
||||
response.write(html);
|
||||
response.write(`
|
||||
</body>
|
||||
`);
|
||||
response.end();;
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user