--- loncom/xml/lonxml.pm 2010/09/29 16:02:19 1.505.2.3 +++ loncom/xml/lonxml.pm 2010/09/29 16:12:17 1.505.2.4 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # XML Parser Module # -# $Id: lonxml.pm,v 1.505.2.3 2010/09/29 16:02:19 raeburn Exp $ +# $Id: lonxml.pm,v 1.505.2.4 2010/09/29 16:12:17 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1531,7 +1531,7 @@ sub verify_html { my ($is_html,$is_xml); if ($filecontents =~/(?:\<|\<\;)\?xml[^\<]*\?(?:\>|\>\;)/is) { $is_xml = 1; - } elsif ($filecontents =~/(?:\<|\<\;)html(?:\s+[^\<]+|\s*)[^\<]*(?:\>|\>\;)/is) { + } elsif ($filecontents =~/(?:\<|\<\;)html(?:\s+[^\<]+|\s*)(?:\>|\>\;)/is) { $is_html = 1; } unless ($is_xml || $is_html) {