Skip to content

Commit

Permalink
[asciidoc] widen admissible terms in definition list
Browse files Browse the repository at this point in the history
This is particularly useful for git manpages where command line
options are detailed using definition lists.
  • Loading branch information
jnavila committed Dec 23, 2018
1 parent e70aa30 commit 164fe17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Locale/Po4a/AsciiDoc.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 164fe17

Please sign in to comment.