doc/texi2pod: fix @ref substitution rule, disallow "}" within the fields
Fix potential spurious substitution. (cherry picked from commit 9167db3829f360f241255d4240ba6b7135ab4111) Signed-off-by: Timothy Gu <timothygu99@gmail.com>
This commit is contained in:
parent
7231c30bff
commit
bdeb7b6176
@ -372,7 +372,7 @@ sub postprocess
|
||||
s/\(?\@xref\{(?:[^\}]*)\}(?:[^.<]|(?:<[^<>]*>))*\.\)?//g;
|
||||
s/\s+\(\@pxref\{(?:[^\}]*)\}\)//g;
|
||||
s/;\s+\@pxref\{(?:[^\}]*)\}//g;
|
||||
s/\@ref\{(?:[^,]*,)(?:[^,]*,)([^,\}]*).*\}/$1/g;
|
||||
s/\@ref\{(?:[^,\}]*,)(?:[^,\}]*,)([^,\}]*).*\}/$1/g;
|
||||
s/\@ref\{([^\}]*)\}/$1/g;
|
||||
s/\@noindent\s*//g;
|
||||
s/\@refill//g;
|
||||
|
Loading…
x
Reference in New Issue
Block a user