summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@slbdata.se>2010-01-29 10:35:04 +0100
committerSamuel Lidén Borell <samuel@slbdata.se>2010-01-29 10:40:15 +0100
commitf14c895c1d7c1a661d8dd35a56bdd7875008f073 (patch)
tree7673dcee38b4847fce85abf1bcfff577a3ceeb82
parentd6e6f76ca8f17d85a83578367a01e692f7325936 (diff)
downloadfribid-f14c895c1d7c1a661d8dd35a56bdd7875008f073.tar.gz
fribid-f14c895c1d7c1a661d8dd35a56bdd7875008f073.tar.bz2
fribid-f14c895c1d7c1a661d8dd35a56bdd7875008f073.zip
Fixed invalid HTML in the test page
-rw-r--r--plugin/test.html18
1 files changed, 10 insertions, 8 deletions
diff --git a/plugin/test.html b/plugin/test.html
index cc5769b..e628bca 100644
--- a/plugin/test.html
+++ b/plugin/test.html
@@ -1,3 +1,7 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!--
Copyright (c) 2009 Samuel Lidén Borell <samuel@slbdata.se>
@@ -21,8 +25,6 @@
THE SOFTWARE.
-->
-<html>
-<head>
<title>BankID test</title>
<script type="text/javascript">
@@ -33,8 +35,8 @@ function init() {
output = document.getElementById('output');
pluginVersion = document.getElementById('pluginVersion');
output.value = "";
- output.value += "Version: >";
- output.value += pluginVersion.GetVersion()+"<\n\n";
+ output.value += "Version: \"";
+ output.value += pluginVersion.GetVersion()+"\"\n\n";
pluginAuth = document.getElementById('pluginAuth');
output.value += "Calling SetParam(Challenge)\n";
@@ -44,16 +46,16 @@ function init() {
output.value += "retval of sp = "+retval+"\n";
output.value += "\nGetParam:\n";
- output.value += " Challenge: >"+pluginAuth.GetParam("Challenge")+"<\n";
- output.value += " Policys: >"+pluginAuth.GetParam("Policys")+"<\n";
- output.value += " Signature: >"+pluginAuth.GetParam("Signature")+"<\n";
+ output.value += " Challenge: \""+pluginAuth.GetParam("Challenge")+"\"\n";
+ output.value += " Policys: \""+pluginAuth.GetParam("Policys")+"\"\n";
+ output.value += " Signature: \""+pluginAuth.GetParam("Signature")+"\"\n";
output.value += "\nInvoking PerformAction(Authenticate):\n";
output.value += " return value = "+pluginAuth.PerformAction("Authenticate")+"\n";
output.value += " GetLastError() = "+pluginAuth.GetLastError()+"\n";
output.value += "\nGetParam:\n";
- output.value += " Signature: >"+pluginAuth.GetParam("Signature")+"<\n";
+ output.value += " Signature: \""+pluginAuth.GetParam("Signature")+"\"\n";
}
</script>