This commit is contained in:
syuilo 2018-04-21 18:25:25 +09:00
parent 86e1b792c2
commit 3c80f0eaca

View File

@ -54,9 +54,9 @@ const handlers = {
document.body.appendChild(blockquote);
},
title({ document }, { title }) {
title({ document }, { content }) {
const h1 = document.createElement('h1');
h1.textContent = title;
h1.textContent = content;
document.body.appendChild(h1);
},