Additional minor patch for indexterms inside para handling

This commit is contained in:
zak@linux.local 2002-03-04 02:16:37 -07:00
parent a664ca007d
commit 68fc8f14b6

View File

@ -98,7 +98,7 @@ $data =~ s{(\S+)[\t ]+</para>}
{$1</para>}g; {$1</para>}g;
msg ("Removing PARA around INDEXTERM if no text in PARA..."); msg ("Removing PARA around INDEXTERM if no text in PARA...");
$data =~ s{<para>((?:<indexterm role=\"(?:cp|fn)\">(?:<(primary|secondary)>[^>]+</\2>)+?</indexterm>)+?)\s*</para>} $data =~ s{<para>((?:<indexterm role=\"[^"]+\">(?:<(primary|secondary)>[^>]+</\2>)+?</indexterm>)+?)\s*</para>}
{$1}gs; {$1}gs;
@apx = ("Users", "MySQL Testimonials", "News", "GPL-license", "LGPL-license"); @apx = ("Users", "MySQL Testimonials", "News", "GPL-license", "LGPL-license");