summaryrefslogtreecommitdiffstats
path: root/perl-install/share/po/help_xml2pm.pl
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/share/po/help_xml2pm.pl')
-rwxr-xr-xperl-install/share/po/help_xml2pm.pl9
1 files changed, 6 insertions, 3 deletions
diff --git a/perl-install/share/po/help_xml2pm.pl b/perl-install/share/po/help_xml2pm.pl
index 83afc691f..249a4efe5 100755
--- a/perl-install/share/po/help_xml2pm.pl
+++ b/perl-install/share/po/help_xml2pm.pl
@@ -170,14 +170,17 @@ sub rewrite2_ {
"\n$text\n";
} elsif (member($tree->{tag},
- 'acronym', 'application', 'emphasis', 'indexterm',
- 'keycombo', 'note', 'primary',
+ 'acronym', 'application', 'emphasis',
+ 'keycombo', 'note',
'superscript', 'systemitem',
'tip', 'ulink', 'xref'
)) {
# ignored tags
$text;
- } elsif (member($tree->{tag}, 'title', 'article')) {
+ } elsif (member($tree->{tag},
+ 'title', 'article', 'primary', 'secondary',
+ 'indexterm',
+ )) {
# dropped tags
'';
} elsif ($tree->{tag} eq 'sect1') {