texi2pod.pl: Escape braces in regexp involving @strong{...}.

* doc/texi2pod.pl: Escape braces in regexp involving @strong{...}.

From-SVN: r226714
This commit is contained in:
Uros Bizjak 2015-08-07 08:38:07 +02:00 committed by Uros Bizjak
parent 971e17ff87
commit 41b122f335
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2015-08-07 Uros Bizjak <ubizjak@gmail.com>
* doc/texi2pod.pl: Escape braces in regexp involving @strong{...}.
2015-07-24 Michael Darling <darlingm@gmail.com>
PR other/66259

View file

@ -311,7 +311,7 @@ while(<$inf>) {
@columns = ();
for $column (split (/\s*\@tab\s*/, $1)) {
# @strong{...} is used a @headitem work-alike
$column =~ s/^\@strong{(.*)}$/$1/;
$column =~ s/^\@strong\{(.*)\}$/$1/;
push @columns, $column;
}
$_ = "\n=item ".join (" : ", @columns)."\n";