summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-07-31 13:54:27 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-07-31 13:54:27 (GMT)
commitd56e225889003904344d6b4e9ae4ff2338733539 (patch)
treeece896ca7a557e2487feeb1a51b89bf4e2febb9c
parent0a09ab02f8ddbb4e3837b8b2611a2cf110b7e6f6 (diff)
parentb38738a4efd5d87c5344b066b92fda182bdb66b3 (diff)
downloadDoxygen-d56e225889003904344d6b4e9ae4ff2338733539.zip
Doxygen-d56e225889003904344d6b4e9ae4ff2338733539.tar.gz
Doxygen-d56e225889003904344d6b4e9ae4ff2338733539.tar.bz2
Merge branch 'albert-github-feature/bug_cite_number'
-rwxr-xr-xtemplates/html/bib2xhtml.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/html/bib2xhtml.pl b/templates/html/bib2xhtml.pl
index da6dc62..ca40b5f 100755
--- a/templates/html/bib2xhtml.pl
+++ b/templates/html/bib2xhtml.pl
@@ -198,7 +198,7 @@ while (<BBLFILE>) {
next loop;
}
$nentry++;
- ($bcite, $blabel) = m+<dt><a name=\"([^\"]*)\">\[([^\]]*)\]</a></dt><dd>+;
+ ($bcite, $blabel) = m:<dt><a\s+name=\"([^\"]*)\">\[([^\]]*)\]</a></dt><dd>:;
$blabel = "$nentry";
$bibcite{$bcite} = $blabel;
}
@@ -222,7 +222,7 @@ while (<BBLFILE>) {
}
s/\%\n//g;
s/(\.(<\/cite>|<\/a>|\')+)\./$1/g;
- s:(<dt><a name=\"[^\"]*\">\[)[^\]]*(\]</a></dt><dd>):$1$nentry$2:;
+ s:(<dt><a\s+name=\"[^\"]*\">\[)[^\]]*(\]</a></dt><dd>):$1$nentry$2:;
while (m/(\\(cite(label)?)(\001\d+)\{([^\001]+)\4\})/) {
$old = $1;
$cmd = $2;