From 5072d0e0b5847f83ec130686bfcd0e6d93138ea4 Mon Sep 17 00:00:00 2001 From: Ashley //// Date: Thu, 11 Apr 2024 08:20:01 +0000 Subject: [PATCH] add escapeHtml --- src/libpoketube/init/pages-video.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libpoketube/init/pages-video.js b/src/libpoketube/init/pages-video.js index 306a524c..8e440ca9 100644 --- a/src/libpoketube/init/pages-video.js +++ b/src/libpoketube/init/pages-video.js @@ -15,6 +15,7 @@ const { capitalizeFirstLetter, turntomins, getRandomInt, + escapeHtml, getRandomArbitrary, } = require("../ptutils/libpt-coreutils.js"); const media_proxy = require("../libpoketube-video.js"); @@ -325,6 +326,7 @@ module.exports = function (app, config, renderTemplate) { convert, universe, wiki: data.wiki, + escapeHtml, f, t: config.t_url, optout: m,