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

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 14 Oct 2002 20:44:16 -0000


albertel		Mon Oct 14 16:44:16 2002 EDT

  Modified files:              
    /loncom/xml	lonxml.pm 
  Log:
  - makes debug messages easier to read
  
  
  
Index: loncom/xml/lonxml.pm
diff -u loncom/xml/lonxml.pm:1.201 loncom/xml/lonxml.pm:1.202
--- loncom/xml/lonxml.pm:1.201	Fri Oct 11 16:52:13 2002
+++ loncom/xml/lonxml.pm	Mon Oct 14 16:44:16 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # XML Parser Module 
 #
-# $Id: lonxml.pm,v 1.201 2002/10/11 20:52:13 www Exp $
+# $Id: lonxml.pm,v 1.202 2002/10/14 20:44:16 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1325,7 +1325,7 @@
 sub debug {
   if ($Apache::lonxml::debug eq 1) {
     $|=1;
-    print("DEBUG:".&HTML::Entities::encode($_[0])."<br />\n");
+    print('<font size="-2"<pre>DEBUG:'.&HTML::Entities::encode($_[0])."</pre></font>\n");
   }
 }