mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-23 17:43:09 +02:00
Fix #1526
This commit is contained in:
parent
86e1b792c2
commit
3c80f0eaca
1 changed files with 2 additions and 2 deletions
|
@ -54,9 +54,9 @@ const handlers = {
|
||||||
document.body.appendChild(blockquote);
|
document.body.appendChild(blockquote);
|
||||||
},
|
},
|
||||||
|
|
||||||
title({ document }, { title }) {
|
title({ document }, { content }) {
|
||||||
const h1 = document.createElement('h1');
|
const h1 = document.createElement('h1');
|
||||||
h1.textContent = title;
|
h1.textContent = content;
|
||||||
document.body.appendChild(h1);
|
document.body.appendChild(h1);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue