From be2f7a516d8c7348a3829720d2e41ec57e9ff2e9 Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Thu, 21 Aug 2008 15:01:22 +0200 Subject: [PATCH 1/1] debtags-xgettext: Correctly preserve linebreaks in verbatim lines Lines starting with more than one space are special in package descriptions, so they should be here as well. Not actually used at the moment, though. --- bin/debtags-xgettext | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/debtags-xgettext b/bin/debtags-xgettext index 329288b..9111184 100755 --- a/bin/debtags-xgettext +++ b/bin/debtags-xgettext @@ -19,6 +19,7 @@ sub escape { $text =~ s/\\/\\\\/g; $text =~ s/"/\\"/g; $text =~ s/\n\s*\.\n\s?/\\n/g; + $text =~ s/\n /\\n/g; $text =~ s/\n//g; $text =~ s/\t/\\t/g; return $text; -- 2.39.2