diff --git a/src/text/html.ts b/src/text/html.ts index e2db2457c..55265c206 100644 --- a/src/text/html.ts +++ b/src/text/html.ts @@ -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); },