Commit 68fc8f14 authored by zak@linux.local's avatar zak@linux.local

Additional minor patch for indexterms inside para handling

parent a664ca00
...@@ -98,7 +98,7 @@ $data =~ s{(\S+)[\t ]+</para>} ...@@ -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");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment