preserve body tag

pull/76/head
Huda Joad 2023-12-04 23:48:24 +03:00
rodzic 7de9f17ec3
commit d9735112c5
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -20,7 +20,7 @@ function simplifyContent(content) {
// Preserve the title tag and its content
let title = content.match(/<title.*?>(.*?)<\/title>/i);
title = title ? title[1] : '';
// Preserve the title tag and its content
// Preserve the body tag and its content
let body = content.match(/<body.*?>(.*?)<\/body>/i);
body = body ? body[1] : '';