Fix potential spurious substitution.
(cherry picked from commit 9167db3829f360f241255d4240ba6b7135ab4111)
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
... | ... |
@@ -372,7 +372,7 @@ sub postprocess |
372 | 372 |
s/\(?\@xref\{(?:[^\}]*)\}(?:[^.<]|(?:<[^<>]*>))*\.\)?//g; |
373 | 373 |
s/\s+\(\@pxref\{(?:[^\}]*)\}\)//g; |
374 | 374 |
s/;\s+\@pxref\{(?:[^\}]*)\}//g; |
375 |
- s/\@ref\{(?:[^,]*,)(?:[^,]*,)([^,\}]*).*\}/$1/g; |
|
375 |
+ s/\@ref\{(?:[^,\}]*,)(?:[^,\}]*,)([^,\}]*).*\}/$1/g; |
|
376 | 376 |
s/\@ref\{([^\}]*)\}/$1/g; |
377 | 377 |
s/\@noindent\s*//g; |
378 | 378 |
s/\@refill//g; |