This commit is contained in:
2026-01-17 01:58:09 +01:00
parent 401d105ae3
commit a39a498b9f

View File

@@ -60,7 +60,6 @@
let html = wrapper.innerHTML let html = wrapper.innerHTML
.replace(/<br\s*\/?>/gi, '<br>') .replace(/<br\s*\/?>/gi, '<br>')
.replace(/(<br>)+$/g, '')
.trim(); .trim();
if (!html) { if (!html) {
const text = String(fallbackText || wrapper.textContent || '').trim(); const text = String(fallbackText || wrapper.textContent || '').trim();