From 3a1b1c827cbc198a6e899c3b6f67c396ca7f40f7 Mon Sep 17 00:00:00 2001
From: Ashley
Date: Wed, 12 Oct 2022 21:26:00 +0200
Subject: [PATCH] libreredirect
---
html/poketube.ejs | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/html/poketube.ejs b/html/poketube.ejs
index bf0d8d3e..35d5b218 100644
--- a/html/poketube.ejs
+++ b/html/poketube.ejs
@@ -338,9 +338,11 @@
Description
+
<% if (String(video.Description) != "[object Object]") { %>
- <%-String(inv_vid.descriptionHtml).replace(/\n/g, "
")%>
+ <%-String(inv_vid.descriptionHtml).replace(/\n/g, "
").replace(/twitter\.com/g, "nitter.net").replace(/reddit\.com/g, "teddit.net") %>
+
<% } %>
<% if (String(video.Description) == "[object Object]") { %>