test something

This commit is contained in:
ashley 2025-09-08 23:18:06 +02:00
parent 9f92da5ed2
commit a50a713ebf

View File

@ -1564,7 +1564,14 @@ WIP! </a>
</div>
</div>
<style>
<% if (dyx === "true") { %>
.descriptionHtml {
font-family:OpenDyslexic3;
}
<% } %>
</style>
<div class="video-sub-info description">
<% if (VideoData.descriptionHtml && VideoData.descriptionHtml.trim() !== "" && VideoData.descriptionHtml.trim() !== "<p></p>") { %>
@ -1579,9 +1586,17 @@ WIP! </a>
<% if (String(VideoData.descriptionHtml) != " ") { %>
<% if (String(VideoData.descriptionHtml) != "<p></p>") { %>
<div style="margin-top:1em;">
<div class="descriptionHtml" style="margin-top:1em;">
<% if (dyx) { %>
<a href="/watch?v=<%=VideoData.videoId%>"> close dyslexic mode </a>
<% } %>
<% if (!dyx) { %>
<a href="/watch?v=<%=VideoData.videoId%>&dyx=true"> open dyslexic mode </a>
<% } %>
<%-String(channelurlfixer(VideoData.descriptionHtml)).replace(/\n/g, " <br> ").replace(/x\.com/g, "twitter.com").replace(/reddit\.com/g, "redlib.matthew.science") %>
</div>
<% } %> <% } %> <% } %>
@ -1590,7 +1605,7 @@ WIP! </a>
<% if (String(VideoData.descriptionHtml) != " ") { %>
<% if (String(VideoData.descriptionHtml) == "<p></p>") { %>
<div style="margin-top:1em;">
<div class="descriptionNORMAL" style="margin-top:1em;">
<%-String(linkify(VideoData.description)).replace(/\n/g, " <br> ").replace(/twitter\.com/g, "twitter.com").replace(/reddit\.com/g, "redlib.matthew.science") %>