diff --git a/html/poketube.ejs b/html/poketube.ejs index a8fd7a6c..4818154a 100644 --- a/html/poketube.ejs +++ b/html/poketube.ejs @@ -773,14 +773,29 @@ display: block; !important;" autoplay controls <% if (String(video.Description) != "[object Object]") { %> <% if (String(inv_vid.descriptionHtml) != "undefined") { %> <% if (String(inv_vid.descriptionHtml) != " ") { %> + <% if (String(inv_vid.descriptionHtml) != "

") { %>
<%-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]") { %> + <% if (String(inv_vid.descriptionHtml) != "undefined") { %> + <% if (String(inv_vid.descriptionHtml) != " ") { %> + <% if (String(inv_vid.descriptionHtml) == "

") { %> + +
+ + + <%-String(inv_vid.description).replace(/\n/g, "
").replace(/twitter\.com/g, "nitter.net").replace(/reddit\.com/g, "teddit.net") %> +
+ <% } %> <% } %> <% } %> + <% } %> + <% if (String(video.Description) == "[object Object]") { %> <% if (String(inv_vid.descriptionHtml) == " ") { %>