Diff for /loncom/xml/lonxml.pm between versions 1.517 and 1.518

version 1.517, 2010/09/29 15:56:03 version 1.518, 2010/09/29 16:09:20
Line 1437  sub verify_html { Line 1437  sub verify_html {
     my ($is_html,$is_xml);      my ($is_html,$is_xml);
     if ($filecontents =~/(?:\<|\&lt\;)\?xml[^\<]*\?(?:\>|\&gt\;)/is) {      if ($filecontents =~/(?:\<|\&lt\;)\?xml[^\<]*\?(?:\>|\&gt\;)/is) {
         $is_xml = 1;          $is_xml = 1;
     } elsif ($filecontents =~/(?:\<|\&lt\;)html(?:\s+[^\<]+|\s*)[^\<]*(?:\>|\&gt\;)/is) {      } elsif ($filecontents =~/(?:\<|\&lt\;)html(?:\s+[^\<]+|\s*)(?:\>|\&gt\;)/is) {
         $is_html = 1;          $is_html = 1;
     }      }
     unless ($is_xml || $is_html) {      unless ($is_xml || $is_html) {

Removed from v.1.517  
changed lines
  Added in v.1.518


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>