From 4fcf82b461862c28ae71a65c96312c4c6d9eef3a Mon Sep 17 00:00:00 2001 From: ElbertF Date: Sun, 12 Aug 2012 08:58:05 +1000 Subject: [PATCH] Using outerHTML to include HTML tag --- drivers/firefox/content/js/content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firefox/content/js/content.js b/drivers/firefox/content/js/content.js index bf38376d4..c92fdfcd9 100644 --- a/drivers/firefox/content/js/content.js +++ b/drivers/firefox/content/js/content.js @@ -7,7 +7,7 @@ if ( content.document.contentType != 'text/html' ) return; // HTML - var html = content.document.documentElement.innerHTML + var html = content.document.documentElement.outerHTML if ( html.length > 50000 ) html = html.substring(0, 25000) + html.substring(html.length - 25000, html.length);