From 164fe1751c313931d744cc5bf9f2edb543b79556 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-No=C3=ABl=20Avila?= Date: Sun, 23 Dec 2018 11:08:14 +0100 Subject: [PATCH] [asciidoc] widen admissible terms in definition list This is particularly useful for git manpages where command line options are detailed using definition lists. --- lib/Locale/Po4a/AsciiDoc.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Locale/Po4a/AsciiDoc.pm b/lib/Locale/Po4a/AsciiDoc.pm index e2f2aba9a..f9af30869 100644 --- a/lib/Locale/Po4a/AsciiDoc.pm +++ b/lib/Locale/Po4a/AsciiDoc.pm @@ -526,7 +526,7 @@ sub parse { undef $self->{bullet}; undef $self->{indent}; } elsif (not defined $self->{verbatim} and - ($line =~ m/^(\s*)([*_+`'#[:alnum:]].*)((?:::|;;|\?\?|:-)(?: *\\)?)$/)) { + ($line =~ m/^(\s*)([-*_+`'#<>[:alnum:]\\"(].*)((?:::|;;|\?\?|:-)(?: *\\)?)$/)) { my $indent = $1; my $label = $2; my $labelend = $3;