projects
/
scpubgit/System-Introspector-Report.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
a57e879
)
fixed line-break transformation
Robert 'phaylon' Sedlacek [Wed, 19 Sep 2012 12:04:42 +0000 (12:04 +0000)]
lib/System/Introspector/Report/Publish/MediaWiki/Producer.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/System/Introspector/Report/Publish/MediaWiki/Producer.pm
b/lib/System/Introspector/Report/Publish/MediaWiki/Producer.pm
index
db40895
..
e5861ab
100644
(file)
--- a/
lib/System/Introspector/Report/Publish/MediaWiki/Producer.pm
+++ b/
lib/System/Introspector/Report/Publish/MediaWiki/Producer.pm
@@
-48,7
+48,9
@@
my $_prepare_column_content = sub {
my ($content) = @_;
return ''
unless defined $content;
- my @lines = split m{\n}, $content;
+ my @lines = split qr{\n}, $content;
+ return ''
+ unless @lines;
if (@lines == 1) {
return $content;
}