From 94097f481a17c99b3ab9a9f0c22bb2ece153251c Mon Sep 17 00:00:00 2001 From: pictuga Date: Fri, 21 Aug 2020 23:54:35 +0200 Subject: [PATCH] sheet.xsl: better handle some corner cases --- www/sheet.xsl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/sheet.xsl b/www/sheet.xsl index 3778d48..7a93ce7 100644 --- a/www/sheet.xsl +++ b/www/sheet.xsl @@ -231,7 +231,7 @@
- + @@ -252,7 +252,7 @@ if (!/:html/.test(window.location.href)) for (var content of document.querySelectorAll(".desc,.content")) - content.innerHTML = (content.innerText.match(/>/g) || []).length > 10 ? content.innerText : content.innerHTML + content.innerHTML = (content.innerText.match(/>/g) || []).length > 3 ? content.innerText : content.innerHTML var options = parse_location()[0]