mostrar html completo
This commit is contained in:
parent
31fa7a4919
commit
8684fdc219
1 changed files with 1 additions and 1 deletions
|
@ -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 = "";
|
||||||
|
|
Loading…
Reference in a new issue