doc/texi2pod: correctly handle @url commands in the form @url{URL,...}
Ignore the other arguments, which have not to be processed by the POD renderer.
This commit is contained in:
parent
9bba683578
commit
1f9855dbc1
@ -365,7 +365,7 @@ sub postprocess
|
|||||||
# @uref can take one, two, or three arguments, with different
|
# @uref can take one, two, or three arguments, with different
|
||||||
# semantics each time. @url and @email are just like @uref with
|
# semantics each time. @url and @email are just like @uref with
|
||||||
# one argument, for our purposes.
|
# one argument, for our purposes.
|
||||||
s/\@(?:uref|url|email)\{([^\},]*)\}/<B<$1>>/g;
|
s/\@(?:uref|url|email)\{([^\},]*),?[^\}]*\}/<B<$1>>/g;
|
||||||
s/\@uref\{([^\},]*),([^\},]*)\}/$2 (C<$1>)/g;
|
s/\@uref\{([^\},]*),([^\},]*)\}/$2 (C<$1>)/g;
|
||||||
s/\@uref\{([^\},]*),([^\},]*),([^\},]*)\}/$3/g;
|
s/\@uref\{([^\},]*),([^\},]*),([^\},]*)\}/$3/g;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user