X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=intl%2FSesse%3A%3AExtractGettext.pm;h=734962f2a8937331391f9ea2149f84c074db9cf6;hb=0daad481aac5b955e3d87aed919fcd43f769882f;hp=a505b6e151218a846a30c946d568dadb75987a4e;hpb=d7b9d2772f2569450caf412026da1556772e3fa4;p=ccbs diff --git a/intl/Sesse::ExtractGettext.pm b/intl/Sesse::ExtractGettext.pm index a505b6e..734962f 100644 --- a/intl/Sesse::ExtractGettext.pm +++ b/intl/Sesse::ExtractGettext.pm @@ -9,7 +9,7 @@ our @ISA = qw(Template::Directive); sub textblock { my ($self, $text) = @_; - while ($text =~ s/<(h[1-6]|p|td|th|title|input|span|li|_)[^>]*>(.*?)<\/\1>//s) { + while ($text =~ s/<(h[1-6]|p|td|th|title|input|span|li|option|_)[^>]*>(.*?)<\/\1>//s) { my $id = $2; next if $id =~ /^\s*$/; $id =~ s/\n/\\n"\n"/g;