Fixed pagebreak treatment in script
Change-Id: I370a600ea161ae0b03fd36891d6959f8ba8bf359
diff --git a/script/korapxml2krill b/script/korapxml2krill
index fab6147..43ac47a 100644
--- a/script/korapxml2krill
+++ b/script/korapxml2krill
@@ -144,6 +144,7 @@
$base_sentences = lc $base_sentences;
$base_paragraphs = lc $base_paragraphs;
+$base_pagebreaks = lc $base_pagebreaks;
my %ERROR_HASH = (
-sections => 'NAME|SYNOPSIS|ARGUMENTS|OPTIONS',
@@ -197,6 +198,7 @@
if ($base_paragraphs eq 'dereko#structure') {
push @dereko_attr, 'paragraphs';
};
+
if ($base_pagebreaks eq 'dereko#structure') {
push @dereko_attr, 'pagebreaks';
};