HTTP server return <html> instead of just <body>

pull/286/head
Thomas Buckley-Houston 2019-06-19 13:22:38 +03:00
rodzic 95562aa129
commit 759e8a125a
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -291,7 +291,10 @@ export default MixinBase =>
_sendRawText() {
let body;
if (this._raw_mode_type == "raw_text_dom") {
body = document.getElementsByTagName("body")[0].innerHTML;
body =
"<html>" +
document.getElementsByTagName("html")[0].innerHTML +
"</html>";
} else {
body = this._serialiseRawText();
}