Skip to content

Commit 49b1233

Browse files
committedMay 21, 2024·
fix: escape title properly in build
1 parent af4717d commit 49b1233

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/node/build/render.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export async function renderPage(
163163
? ''
164164
: '<meta name="viewport" content="width=device-width,initial-scale=1">'
165165
}
166-
<title>${title}</title>
166+
<title>${escape(title)}</title>
167167
${
168168
isDescriptionOverridden(head)
169169
? ''

0 commit comments

Comments
 (0)
Please sign in to comment.