changeset 27949:47216fd5d532 stable

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 058ff501c92d
children 19878c3adac3
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	Tue Mar 19 14:46:52 2019 +0000
+++ 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