changeset 27515:466e61c5fb4b

build: adapt mk-qthelp.pl to changes in Texinfo 6.7 * mk-qthelp.pl: Update regular expression to allow HTML attributes after href to accomodate changes in Texinfo 6.7.
author Mike Miller <mtmiller@octave.org>
date Wed, 16 Oct 2019 12:17:58 -0700
parents cc023f049dbf
children c3e24c82157f
files doc/interpreter/mk-qthelp.pl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/mk-qthelp.pl	Fri Oct 11 13:07:10 2019 -0400
+++ b/doc/interpreter/mk-qthelp.pl	Wed Oct 16 12:17:58 2019 -0700
@@ -34,7 +34,7 @@
 {
   if (/^\s*<li>/)
   {
-    ($href, $text) = m|href="([^"]*)">(.*)</a>|;
+    ($href, $text) = m|href="([^"]*)"[^<>]*>(.*)</a>|;
     # Sanitize text
     $text =~ s/<[^>]*>//g;         # remove xml-looking blocks like <code>
     $text =~ s/&rsquo;/&#8217;/g;  # Code for apostrophe