Skip to content

Node.js based forum software built for the modern web

fix: tooltip display up themes

Barış Soner Uşaklı202472c90e3b
diff --git a/install/package.json b/install/package.json
index 24b262c18a..62e24eed6b 100644
--- a/install/package.json
+++ b/install/package.json
@@ -114,8 +114,8 @@
"nodebb-rewards-essentials": "1.0.3",
"nodebb-theme-harmony": "3.1.0",
"nodebb-theme-lavender": "8.1.0",
- "nodebb-theme-peace": "3.1.0",
- "nodebb-theme-persona": "15.1.0",
+ "nodebb-theme-peace": "3.1.1",
+ "nodebb-theme-persona": "15.1.1",
"nodebb-widget-essentials": "8.0.2",
"nodemailer": "9.0.3",
"nprogress": "0.2.0",
diff --git a/public/src/client/topic/votes.js b/public/src/client/topic/votes.js
index 52dca684d1..19463b24ca 100644
--- a/public/src/client/topic/votes.js
+++ b/public/src/client/topic/votes.js
@@ -69,7 +69,7 @@ define('forum/topic/votes', [
async function createTooltip(el, data) {
function doCreateTooltip(title) {
- el.attr('title', title);
+ el.attr('title', utils.escapeHTML(title));
(new bootstrap.Tooltip(el, {
container: '#content',
html: true,