Comments (3)
Original comment by [email protected]
on 30 Apr 2009 at 4:26
- Changed state: Accepted
from gwtwiki.
I ran into this one tonight, and was able to track down the cause. It is
caused by cloning the toc tag, but continuing to use the the toc anchor list
from the cloned object. The one-liner fix is below.
Thanks for the awesome library!
### Eclipse Workspace Patch 1.0
#P info.bliki.wiki
Index: bliki-core/src/main/java/info/bliki/wiki/model/AbstractWikiModel.java
===================================================================
---
bliki-core/src/main/java/info/bliki/wiki/model/AbstractWikiModel.java (revision
3603)
+++
bliki-core/src/main/java/info/bliki/wiki/model/AbstractWikiModel.java (working
copy)
@@ -883,6 +883,7 @@
tableOfContentTag.setShowToC(true);
tableOfContentTag.setTOCIdentifier(isTOCIdentifier);
fTableOfContentTag = tableOfContentTag;
+ fTableOfContent = null;
// } catch (CloneNotSupportedException e) {
// e.printStackTrace();
// }
Original comment by [email protected]
on 9 Jun 2011 at 7:54
from gwtwiki.
Patch commited with r3604
Original comment by [email protected]
on 9 Jun 2011 at 5:39
- Changed state: Fixed
from gwtwiki.
Related Issues (20)
- ConcurrentEditException while importing HTML page to my mediawiki HOT 1
- Does not recognize image tags with non-ascii characters HOT 2
- Problem when a language uses a mix of native and English tags HOT 2
- WikiXMLParser doesn't read bzip2 files directly HOT 2
- Jar File ?
- iframe incorrect translation HOT 2
- CmContinue Empty for XMLCategoryMembersParser HOT 2
- version 3.0.19 renderns invalid html for TOC HOT 2
- Login Broken
- Bold Wiki Text does not end properly HOT 3
- Problem in converting MediaWiki text to Plain text HOT 1
- It is impossible to create new page with Connector.edit() method HOT 1
- make hide Table of Contents (toc) convenient HOT 2
- Error on rendering Wiki to HTML of some pages HOT 4
- toc generate not valid anchor HOT 3
- Html to wiki for embedded unordered lists adds an additional list item HOT 1
- line breaks removed after stripping wikipedia markup language
- Nested Links Are Not Resolved Correctly
- Slashes in titles should be escaped (?)
- Scribunto (Luaj scripting for Wikipedia) support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
but before multiple
elements results in the table of contents ONLY displaying the
element in the TOC.d
from gwtwiki.