diff --git a/inc/class.schedule.php b/inc/class.schedule.php
--- a/inc/class.schedule.php
+++ b/inc/class.schedule.php
@@ -498,7 +498,7 @@ class Schedule
 	. '        ' . PHP_EOL;
 
       echo '        
' . PHP_EOL
-	. '          
 Share on Facebook
You can also share your schedule with the URL below:
' . htmlentities($outputPage->gen_share_url($this->id_get())) . '
' . PHP_EOL
+	. '          
 Share on Facebook
You can also share your schedule with the URL below:
' . htmlentities($outputPage->gen_share_url($this->id_get())) . '
' . PHP_EOL
 	. '        
 ' . PHP_EOL
 	. '        ' . PHP_EOL
 	. '          Edit' . PHP_EOL
@@ -597,9 +597,8 @@ class Schedule
                     
                     
                     
-                  ';
-
-          echo ' '
+                  
+                 '
 	     . '' . "\n";
 			
 	for($nn = $first_permutation + 1; $nn <= $last_permutation; $nn++)