Remove vim modeline from changelog page
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sat, 29 Jul 2006 13:09:45 +0000 (13:09 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sat, 29 Jul 2006 13:09:45 +0000 (13:09 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@693 839d8a87-29fc-0310-9880-83ba4fa771e5

modules/platal.php

index 55e55cb..30cc13d 100644 (file)
@@ -83,6 +83,7 @@ class PlatalModule extends PLModule
 
         $clog = htmlentities(file_get_contents(dirname(__FILE__).'/../ChangeLog'));
         $clog = preg_replace('!(#[0-9]+(,[0-9]+)*)!e', 'bugize("\1")', $clog);
 
         $clog = htmlentities(file_get_contents(dirname(__FILE__).'/../ChangeLog'));
         $clog = preg_replace('!(#[0-9]+(,[0-9]+)*)!e', 'bugize("\1")', $clog);
+        $clog = preg_replace('!vim:.*$!', '', $clog);
         $page->assign('ChangeLog', $clog);
     }
 
         $page->assign('ChangeLog', $clog);
     }