mostrar html completo

This commit is contained in:
Cat /dev/Nulo 2023-03-31 20:27:55 -03:00
parent 31fa7a4919
commit 8684fdc219

View file

@ -87,7 +87,7 @@ function isAbsolute(url: string) {
} }
function getHtml(rawHtml: string, el: Element) { function getHtml(rawHtml: string, el: Element) {
return rawHtml.slice(el.startIndex!, el.endIndex!); return rawHtml.slice(el.startIndex!, el.endIndex! + 1);
} }
function getText(el: Element) { function getText(el: Element) {
let text = ""; let text = "";