Skip to content

Commit

Permalink
Merge pull request #341 from ancorgs/newline_12_3
Browse files Browse the repository at this point in the history
Merge of fix for bnc#912169 into 13.2
  • Loading branch information
ancorgs committed Feb 3, 2015
2 parents 5d93dfa + 039543d commit 3c1ac43
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions library/system/src/clients/view_anymsg.rb
Expand Up @@ -186,8 +186,8 @@ def main
# remove ANSI color escape sequences
file_content.gsub!(/\e\[(\d|;|\[)+m/, "")
# remove remaining ASCII control characters (ASCII 0-31 and 127 (DEL))
# (except new line, CR = 0xd)
file_content.tr!("\u0000-\u000c\u000e-\u001f\u007f", "")
# except new line (LF = 0xa) and carriage return (CR = 0xd)
file_content.tr!("\u0000-\u0009\u000b\u000c\u000e-\u001f\u007f", "")
else
file_content = _("File not found.")
end
Expand Down
6 changes: 6 additions & 0 deletions package/yast2.changes
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Feb 3 10:15:13 UTC 2015 - ancor@suse.com

- Better handling of line breaks in system log viewer (bnc#912169)
- 3.1.109.1

-------------------------------------------------------------------
Mon Jan 26 14:16:20 UTC 2015 - jreidinger@suse.com

Expand Down
2 changes: 1 addition & 1 deletion package/yast2.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2
Version: 3.1.109
Version: 3.1.109.1
Release: 0
URL: https://github.com/yast/yast-yast2

Expand Down

0 comments on commit 3c1ac43

Please sign in to comment.