From 366136d2f05ecd101e5a3053b465fee074f9d159 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]") { %>