From: buliabyak Date: Wed, 18 Apr 2007 00:23:33 +0000 (+0000) Subject: patch 1687818 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0680c6daee519febaa0068eb0abf4f310c94624d;p=inkscape.git patch 1687818 --- diff --git a/share/extensions/ill2svg.pl b/share/extensions/ill2svg.pl index 876888690..60c4fe1db 100644 --- a/share/extensions/ill2svg.pl +++ b/share/extensions/ill2svg.pl @@ -355,20 +355,9 @@ print " xmlns=\"http://www.w3.org/2000/svg\""; print " xmlns:xlink=\"http://www.w3.org/1999/xlink\">\r\n"; while (<>) { - if (m/$NL_DOS$/) { - $/ = $NL_DOS; - foreach (split /$NL_DOS/) { - process_line($_); - } - } elsif (m/$NL_MAC$/) { - $/ = $NL_MAC; - foreach (split /$NL_MAC/) { - process_line($_); - } - } else { - chomp; + foreach (split /[\015\012]+/) { process_line($_); - } + } } print "\n";