[FFmpeg-cvslog] doc/texi2pod: correctly handle @url commands in the form @url{URL, ...}

Stefano Sabatini git at videolan.org
Tue Dec 18 00:07:40 CET 2012


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Mon Dec 17 14:29:17 2012 +0100| [1f9855dbc1102e63fa7ce932d0edf0d545c89b09] | committer: Stefano Sabatini

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.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1f9855dbc1102e63fa7ce932d0edf0d545c89b09
---

 doc/texi2pod.pl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
index 6702d7a..bf333b8 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)\{([^\},]*)\}/<B<$1>>/g;
+    s/\@(?:uref|url|email)\{([^\},]*),?[^\}]*\}/<B<$1>>/g;
     s/\@uref\{([^\},]*),([^\},]*)\}/$2 (C<$1>)/g;
     s/\@uref\{([^\},]*),([^\},]*),([^\},]*)\}/$3/g;
 



More information about the ffmpeg-cvslog mailing list