소스 검색

Strip DOS Formatting from files - fixes whitespace at end of line bug

sbingner 24 년 전
부모
커밋
5839429d3a
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      docs/Changelog
  2. 1 0
      modules/Pisg/Parser/Logfile.pm

+ 1 - 0
docs/Changelog

@@ -12,6 +12,7 @@ pisg (x.xx)
      super long quotes showing up - BugID#594618)
    * Only match emails if it begins at the beginning of a line or after
      something other than ':' URL on that line. Fixes BugID#618540
+   * Strip DOS Formatting from files - Fixes space at end of line BugID#628580
 
 
 

+ 1 - 0
modules/Pisg/Parser/Logfile.pm

@@ -195,6 +195,7 @@ sub _parse_file
 
     while(my $line = <LOGFILE>) {
         $line = _strip_mirccodes($line);
+        $line =~ s/\r+$//;       # Strip DOS Formatting
 
         my $hashref;