[LON-CAPA-cvs] cvs: loncom /xml lonxml.pm

raeburn raeburn@source.lon-capa.org
Wed, 29 Sep 2010 15:56:03 -0000


raeburn		Wed Sep 29 15:56:03 2010 EDT

  Modified files:              
    /loncom/xml	lonxml.pm 
  Log:
  - Remove unnecessary call to verify_html().
  
  
Index: loncom/xml/lonxml.pm
diff -u loncom/xml/lonxml.pm:1.516 loncom/xml/lonxml.pm:1.517
--- loncom/xml/lonxml.pm:1.516	Wed Sep 29 15:53:07 2010
+++ loncom/xml/lonxml.pm	Wed Sep 29 15:56:03 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # XML Parser Module 
 #
-# $Id: lonxml.pm,v 1.516 2010/09/29 15:53:07 raeburn Exp $
+# $Id: lonxml.pm,v 1.517 2010/09/29 15:56:03 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1721,9 +1721,6 @@
                 $result = &Apache::lontexconvert::converted(\$filecontents,
                               $env{'form.texengine'});
                 if ($env{'form.return_only_error_and_warning_counts'}) {
-                    if (&verify_html('<html><body>'.$result.'</body></html>')) {
-                        $errorcount++;
-                    }
                     $result = "$errorcount:$warningcount";
                 }
             } else {