Package: s5 / 1.1.dfsg.2-6

xhtml-entities.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Description: Produce proper XHTML.
Forwarded: not-yet
Bug-Debian: https://bugs.debian.org/699642
Author: "brian m. carlson" <sandals@crustytoothpaste.net>
Last-Update: 2016-04-14

--- a/ui/default/slides.js
+++ b/ui/default/slides.js
@@ -375,7 +375,7 @@
 	var controlsDiv = document.getElementById("controls");
 	if (!controlsDiv) return;
 	var hider = ' onmouseover="showHide(\'s\');" onmouseout="showHide(\'h\');"';
-	var hideDiv, hideList = '';
+	var hideDiv = '', hideList = '';
 	if (controlVis == 'hidden') {
 		hideDiv = hider;
 	} else {
@@ -384,8 +384,8 @@
 	controlsDiv.innerHTML = '<form action="#" id="controlForm"' + hideDiv + '>' +
 	'<div id="navLinks">' +
 	'<a accesskey="t" id="toggle" href="javascript:toggle();">&#216;<\/a>' +
-	'<a accesskey="z" id="prev" href="javascript:go(-1);">&laquo;<\/a>' +
-	'<a accesskey="x" id="next" href="javascript:go(1);">&raquo;<\/a>' +
+	'<a accesskey="z" id="prev" href="javascript:go(-1);">&#xab;<\/a>' +
+	'<a accesskey="x" id="next" href="javascript:go(1);">&#xbb;<\/a>' +
 	'<div id="navList"' + hideList + '><select id="jumplist" onchange="go(\'j\');"><\/select><\/div>' +
 	'<\/div><\/form>';
 	if (controlVis == 'hidden') {