Browse Source

doc/texi2pod: fix @ref substitution rule, disallow "}" within the fields

Fix potential spurious substitution.
tags/n1.2
Stefano Sabatini 12 years ago
parent
commit
9167db3829
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      doc/texi2pod.pl

+ 1
- 1
doc/texi2pod.pl View File

@@ -377,7 +377,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…
Cancel
Save