sheet.xsl: smarter html reparser

master
pictuga 2020-04-25 15:22:25 +02:00
parent 5847e18e42
commit 186bedcf62
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@
if (!/:html/.test(window.location.href))
for (var content of document.querySelectorAll(".desc,.content"))
content.innerHTML = content.children.children ? content.innerHTML : content.innerText
content.innerHTML = (content.innerText.match(/>/g) || []).length > 10 ? content.innerText : content.innerHTML
function copy_content(input) {
input.focus()