diff --git a/html_calendar.xsl b/html_calendar.xsl
index f5d42b1..5bc5feb 100755
--- a/html_calendar.xsl
+++ b/html_calendar.xsl
@@ -7,17 +7,17 @@
 
 	INFO
 
-	
+	
 
-	
+	
 
 	
-		
+		
 		2
 	
 
 	
-		
+		
 		13
 	
 	
@@ -33,11 +33,11 @@
 				
 					
 						
-							
-							 Paper Schedule, 
-							
+							
+							 Paper Calendar, 
+							
 							 
-							
+							
 						
 						
 							
@@ -45,8 +45,8 @@
 							
 							
 								http://info-nts-12.otago.ac.nz/
-								
-								
+								
+								
 								/db_styles.css
 							
 							
@@ -68,16 +68,16 @@
 						 
 					
 					
-						
+						
 						
 						
-							
+							
 						
 					
 				
 			
 			
-				
+				
 			
 		
 	
@@ -85,11 +85,11 @@
 	
 		
 		
-			
-			 Paper Schedule, 
-			
+			
+			 Paper Calendar, 
+			
 			 
-			
+			
 		
 		
 		
@@ -102,13 +102,13 @@
 					for the browsers that do support them.
 				-->
 				
-					
+					
 				
 				
-					
+					
 				
 				
-					
+					
 				
 			
 		
@@ -120,7 +120,7 @@
 	-->
 	
 		
-			
+			
 		
 	
 	
@@ -132,10 +132,10 @@
 		-					
+					
 				
 			
-			
+@@ -147,10 +147,10 @@ | -					
+					
 				
 			
-			
+@@ -161,7 +161,7 @@
 		date range are only generated for the first of these rows.
 	-->
 	
-		
+ | 
 				
@@ -175,17 +175,17 @@
 							
 						
 						
-							
+							
 						
-						
+						
 					
 	
 					
 					| -							
+							
 						
-						
+@@ -193,12 +193,12 @@
 					Apply each of the sub-templates in the correct order.
 					Missing elements don't matter.
 				-->
-				
-				
-				
-				
-				
-				
+				
+				
+				
+				
+				
+ | 
 		
 	
@@ -211,9 +211,9 @@
 		
 			| -					
+					
 				
-				
+ | 
 	
@@ -223,7 +223,7 @@
 		because it's likely to have embedded ENDASH elements.
 	-->
 	
-		
+		
 	
 	
 	
 	
 		-			
+ | -			
+@@ -246,7 +246,7 @@
 	--> | -			
+@@ -265,22 +265,22 @@
 	-->
 	
 		
-			
+			
 			
-				
+ | -				
+				
 			
-			
+ | -				
+				
 			
-			
+@@ -290,9 +290,9 @@ | -				
+				
 				
-					
+					
 				
 			
 			 
@@ -305,22 +305,22 @@
 	-->
 	
 		
-			
+			
 			
-				
+ | -				
+				
 			
-			
+ | -				
+				
 			
-			
+@@ -330,9 +330,9 @@ | -				
+				
 				
-					
+					
 				
 			
 			 
@@ -346,12 +346,12 @@ | -				
+				
 				
-					
+					
 				
 			
-			
+@@ -361,9 +361,9 @@ | -				
+				
 				
-					
+					
 				
 			
 			 
@@ -376,12 +376,12 @@ | -				
+				
 				
-					
+					
 				
 			
-			
+@@ -391,9 +391,9 @@ | -				
+				
 				
-					
+					
 				
 			
 			 
@@ -405,11 +405,11 @@
 		Generate a link.
 	-->
 	
-		
+		
 	
 	
 	
-		
+		
 	
 	
 	
@@ -428,7 +428,7 @@
 				“
 			
 		
-		
+		
 		
 			
 				’
@@ -473,23 +473,23 @@
 		Miscellaneous HTML elements to be mapped straight through.
 	-->
 	
-		
+		
 	
 	
 	
-		
+		
 	
 	
 	
-		
+		
 	
 	
 	
-		
+		
 	
 	
 	
-		
+ |  |  |  |