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>
... | ... |
@@ -365,7 +365,7 @@ sub postprocess |
365 | 365 |
# @uref can take one, two, or three arguments, with different |
366 | 366 |
# semantics each time. @url and @email are just like @uref with |
367 | 367 |
# one argument, for our purposes. |
368 |
- s/\@(?:uref|url|email)\{([^\},]*)\}/<B<$1>>/g; |
|
368 |
+ s/\@(?:uref|url|email)\{([^\},]*),?[^\}]*\}/<B<$1>>/g; |
|
369 | 369 |
s/\@uref\{([^\},]*),([^\},]*)\}/$2 (C<$1>)/g; |
370 | 370 |
s/\@uref\{([^\},]*),([^\},]*),([^\},]*)\}/$3/g; |
371 | 371 |
|