*) fixed bug where headlines were added to directory of a wiki page multiple times (http://www.yacy-forum.de/viewtopic.php?t=4034)

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3762 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
low012 18 years ago
parent ef24bed406
commit a0149317ac

@ -755,6 +755,11 @@ public class wikiCode extends abstractWikiParser implements wikiParser {
}
directory = "<table><tr><td><div class=\"WikiTOCBox\">\n" + directory + "</div></td></tr></table>\n";
}
//(http://www.yacy-forum.de/viewtopic.php?t=4034) [MN]
if(!dirElements.isEmpty()){
dirElements.clear();
headlines = 0;
}
return directory;
}

Loading…
Cancel
Save