[LON-CAPA-cvs] cvs: loncom /interface lonhtmlcommon.pm
droeschl
droeschl@source.lon-capa.org
Wed, 25 Nov 2009 13:25:44 -0000
droeschl Wed Nov 25 13:25:44 2009 EDT
Modified files:
/loncom/interface lonhtmlcommon.pm
Log:
Fix: tags closed in wrong order. this caused parsing problems in some browsers.
Index: loncom/interface/lonhtmlcommon.pm
diff -u loncom/interface/lonhtmlcommon.pm:1.249 loncom/interface/lonhtmlcommon.pm:1.250
--- loncom/interface/lonhtmlcommon.pm:1.249 Tue Nov 24 06:13:20 2009
+++ loncom/interface/lonhtmlcommon.pm Wed Nov 25 13:25:44 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common html routines
#
-# $Id: lonhtmlcommon.pm,v 1.249 2009/11/24 06:13:20 raeburn Exp $
+# $Id: lonhtmlcommon.pm,v 1.250 2009/11/25 13:25:44 droeschl Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1501,7 +1501,7 @@
$item =~ s/<span(.*?)\/span>//;
$html .= "<li>$item</li>";
}
- $html .= '</li></ul>';
+ $html .= '</ul></li>';
if ($category eq 'A') { $html .= "<li>$$links</li>"; }
}
$$links = $html.'</ul>';