From 0680c6daee519febaa0068eb0abf4f310c94624d Mon Sep 17 00:00:00 2001 From: buliabyak Date: Wed, 18 Apr 2007 00:23:33 +0000 Subject: [PATCH] patch 1687818 --- share/extensions/ill2svg.pl | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) 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"; -- 2.30.2