Bugfix for XML rendering MPA TOC
git-svn-id: https://svn.libreccm.org/ccm/trunk@6218 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
e8a1121c07
commit
756a66eaab
|
|
@ -116,7 +116,7 @@ public class ArticleSectionXMLGenerator implements ExtraXMLGenerator {
|
|||
sectionElem.setCDATASection(section.getTitle());
|
||||
final String link;
|
||||
if (currentPage.getPageNumber() == pageNr) {
|
||||
link = String.format("#section-%d", pageNr);
|
||||
link = String.format("#section-%d", sectionNr);
|
||||
} else {
|
||||
link = String.format("?page=%d#section-%d", pageNr, sectionNr);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue