summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-07-31 12:54:14 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-07-31 12:54:14 (GMT)
commit8679c158eb79236de4e82758b88bb45605273ac9 (patch)
treece82e6e83f0bdc2db04bb04ce334f549bc45c253
parent0a09ab02f8ddbb4e3837b8b2611a2cf110b7e6f6 (diff)
parente530248a0c4b1fc310d9f269c402f0703096b2f0 (diff)
downloadDoxygen-8679c158eb79236de4e82758b88bb45605273ac9.zip
Doxygen-8679c158eb79236de4e82758b88bb45605273ac9.tar.gz
Doxygen-8679c158eb79236de4e82758b88bb45605273ac9.tar.bz2
Merge branch 'feature/bug_cite_number' of https://github.com/albert-github/doxygen into 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..8d2b9b2 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[ \n][ \n]*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[ \n][ \n]*name=\"[^\"]*\">\[)[^\]]*(\]</a></dt><dd>):$1$nentry$2:;
while (m/(\\(cite(label)?)(\001\d+)\{([^\001]+)\4\})/) {
$old = $1;
$cmd = $2;