[Pkg-javascript-commits] [pdf.js] 28/116: Adds encoding for test server index page.

David Prévot taffit at moszumanska.debian.org
Fri Mar 6 16:19:57 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository pdf.js.

commit 4ec132a2ba0d6a10fa9560abbe23da50e9f5e49b
Author: Yury Delendik <ydelendik at mozilla.com>
Date:   Wed Jan 7 21:35:48 2015 -0600

    Adds encoding for test server index page.
---
 test/webserver.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/webserver.js b/test/webserver.js
index 5452a58..44db521 100644
--- a/test/webserver.js
+++ b/test/webserver.js
@@ -174,7 +174,7 @@ WebServer.prototype = {
           res.end();
           return;
         }
-        res.write('<html><body><h1>PDFs of ' + pathPart + '</h1>\n');
+        res.write('<html><head><meta charset=\"utf-8\"></head><body><h1>PDFs of ' + pathPart + '</h1>\n');
         if (pathPart !== '/') {
           res.write('<a href=\"..\">..</a><br>\n');
         }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list