Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 8050)
+++ trunk/MagicSoft/Mars/Changelog	(revision 8051)
@@ -56,4 +56,7 @@
    * mhflux/MAlphaFitter.cc:
      - fixed a typo in a comment
+
+   * mbase/MLogHtml.cc:
+     - fixed a bug which caused the output to be totally corrupted
 
 
Index: trunk/MagicSoft/Mars/NEWS
===================================================================
--- trunk/MagicSoft/Mars/NEWS	(revision 8050)
+++ trunk/MagicSoft/Mars/NEWS	(revision 8051)
@@ -2,4 +2,6 @@
 
  *** Version  <cvs>
+
+   - general: HTML logging output was distorted... fixed.
 
    - sponde: In the calculation of the collection area(s) and the 
Index: trunk/MagicSoft/Mars/mbase/MLogHtml.cc
===================================================================
--- trunk/MagicSoft/Mars/mbase/MLogHtml.cc	(revision 8050)
+++ trunk/MagicSoft/Mars/mbase/MLogHtml.cc	(revision 8051)
@@ -127,5 +127,5 @@
     }
 
-    TString txt(str);
+    TString txt(str, len);
 
     txt.ReplaceAll(">", "&gt;");
