MTrack/SCMEvent.php
authorAlan Knowles <alan@akbkhome.com>
Sun, 7 Aug 2011 14:23:31 +0000 (22:23 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sun, 7 Aug 2011 14:23:31 +0000 (22:23 +0800)
MTrack/SCMEvent.php

index b220afc..05dfae4 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-require_once 'MTrack/Wiki.php';
+//require_once 'MTrack/Wiki.php';
 
 class MTrackSCMEvent 
 {
@@ -26,11 +26,11 @@ class MTrackSCMEvent
     function changelogOneToHtml()
     {
         list($one) = explode("\n", $this->changelog);
-        return MTrack_Wiki::format_to_oneliner(rtrim($one, " \r\n"));
+        return htmlspecialchars($one);
     }
     function changelogToHtml()
     {
-       return MTrack_Wiki::format_to_html($this->changelog);
+       return htmlspecialchars($this->changelog);
     }
     // get rid of this..
     function changeByToHtml($linkHandler)