add escapeHtml

This commit is contained in:
Ashley //// 2024-04-11 08:20:01 +00:00
parent 12a03b54bd
commit 5072d0e0b5

View file

@ -15,6 +15,7 @@ const {
capitalizeFirstLetter, capitalizeFirstLetter,
turntomins, turntomins,
getRandomInt, getRandomInt,
escapeHtml,
getRandomArbitrary, getRandomArbitrary,
} = require("../ptutils/libpt-coreutils.js"); } = require("../ptutils/libpt-coreutils.js");
const media_proxy = require("../libpoketube-video.js"); const media_proxy = require("../libpoketube-video.js");
@ -325,6 +326,7 @@ module.exports = function (app, config, renderTemplate) {
convert, convert,
universe, universe,
wiki: data.wiki, wiki: data.wiki,
escapeHtml,
f, f,
t: config.t_url, t: config.t_url,
optout: m, optout: m,