summaryrefslogtreecommitdiff
path: root/Locale
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-08-03 17:45:34 +0200
committerJonas Smedegaard <dr@jones.dk>2013-10-13 00:47:50 +0200
commit3983ecff8bd9c879f8d4b1a7c4b7778fe02d369e (patch)
treeeaf5e26b5081261a9627ffa77349c325861d269e /Locale
parenta3c58e4bbd0b8d0f5632f38287cdb1b1db114bcb (diff)
Fix Locale::Po4a::Text reset flags on new file.
Diffstat (limited to 'Locale')
-rw-r--r--Locale/Po4a/Text.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/Locale/Po4a/Text.pm b/Locale/Po4a/Text.pm
index fad995a..f8dd497 100644
--- a/Locale/Po4a/Text.pm
+++ b/Locale/Po4a/Text.pm
@@ -138,6 +138,8 @@ sub parse {
$file = $1;
do_paragraph($self,$paragraph,$wrapped_mode);
$paragraph="";
+ $wrapped_mode = 1;
+ $expect_header = 1;
}
# TODO: preserve original line ends throughout the code instead