Skip to content

Commit

Permalink
*) fixed bug where headlines were added to directory of a wiki page m…
Browse files Browse the repository at this point in the history
…ultiple 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
  • Loading branch information
low012 committed May 25, 2007
1 parent ef24bed commit a014931
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source/de/anomic/data/wikiCode.java
Expand Up @@ -755,6 +755,11 @@ else if (element.startsWith("1")) {
}
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;
}

Expand Down

0 comments on commit a014931

Please sign in to comment.