adads
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user