Diff for /loncom/xml/lonxml.pm between versions 1.505.2.3 and 1.505.2.4

version 1.505.2.3, 2010/09/29 16:02:19 version 1.505.2.4, 2010/09/29 16:12:17
Line 1531  sub verify_html { Line 1531  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.505.2.3  
changed lines
  Added in v.1.505.2.4


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