summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-12-17 14:29:17 +0100
committerTimothy Gu <timothygu99@gmail.com>2013-08-27 09:02:59 -0700
commitd56dd43c50b4f3f35685de87cf1ab03c751ffd98 (patch)
tree872eee7405788361293041d2a5a90c1e9d2d5f13
parent646bcc37e627af57f81e5e9ac9bad24a6763e841 (diff)
downloadffmpeg-d56dd43c50b4f3f35685de87cf1ab03c751ffd98.tar.gz
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. (cherry picked from commit 1f9855dbc1102e63fa7ce932d0edf0d545c89b09) Signed-off-by: Timothy Gu <timothygu99@gmail.com>
-rwxr-xr-xdoc/texi2pod.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
index 6702d7a542..bf333b891b 100755
--- a/doc/texi2pod.pl
+++ b/doc/texi2pod.pl
@@ -365,7 +365,7 @@ sub postprocess
# @uref can take one, two, or three arguments, with different
# semantics each time. @url and @email are just like @uref with
# one argument, for our purposes.
- s/\@(?:uref|url|email)\{([^\},]*)\}/&lt;B<$1>&gt;/g;
+ s/\@(?:uref|url|email)\{([^\},]*),?[^\}]*\}/&lt;B<$1>&gt;/g;
s/\@uref\{([^\},]*),([^\},]*)\}/$2 (C<$1>)/g;
s/\@uref\{([^\},]*),([^\},]*),([^\},]*)\}/$3/g;