js/index : fix linkify() usage

Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
Ari Archer 2023-04-06 23:55:50 +03:00
parent 9bdfb915c9
commit 553bcec673

View file

@ -84,7 +84,7 @@ async function main() {
mkelem("a", `#${id} by ${post[0]}`, null, { mkelem("a", `#${id} by ${post[0]}`, null, {
href: `${COMMENT_SITE}/#${id}`, href: `${COMMENT_SITE}/#${id}`,
}), }),
mkelem("pre", linkify(post[1], COMMENT_SITE, "_blank")), mkelem("pre", linkify(post[1], COMMENT_SITE)),
], ],
comment comment
); );