6.0.0-beta1
7/6/25

[#12233] Table of Contents does not work (empty)
Summary Table of Contents does not work (empty)
Queue Wicked
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester samuel.wolf (at) wolf-maschinenbau (dot) de
Created 05/02/2013 (4448 days ago)
Due
Updated 05/13/2013 (4437 days ago)
Assigned 05/03/2013 (4447 days ago)
Resolved 05/08/2013 (4442 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/13/2013 09:11:38 AM Git Commit Comment #5 Reply to this comment
Changes have been made in Git (FRAMEWORK_4):

commit 40b2bc29418e29a563735396ab1af5f268529307
Author: Jan Schneider <jan@horde.org>
Date:   Wed May 8 11:08:13 2013 +0200

     Implement custom Toc parser to find custom Heading tokens (Bug #12233).

  wicked/lib/Page.php                         |    3 +
  wicked/lib/Text_Wiki/Parse/Default/Toc2.php |   86 +++++++++++++++++++++++++
  wicked/lib/Text_Wiki/Render/Latex/Toc2.php  |    7 ++
  wicked/lib/Text_Wiki/Render/Plain/Toc2.php  |    7 ++
  wicked/lib/Text_Wiki/Render/Rst/Toc.php     |   57 -----------------
  wicked/lib/Text_Wiki/Render/Rst/Toc2.php    |   57 +++++++++++++++++
  wicked/lib/Text_Wiki/Render/Xhtml/Toc.php   |   92 
---------------------------
  wicked/lib/Text_Wiki/Render/Xhtml/Toc2.php  |   92 
+++++++++++++++++++++++++++
  wicked/package.xml                          |   18 ++++--
  9 files changed, 264 insertions(+), 155 deletions(-)

http://git.horde.org/horde-git/-/commit/40b2bc29418e29a563735396ab1af5f268529307
05/08/2013 09:09:00 AM Jan Schneider Assigned to Jan Schneider
State ⇒ Resolved
 
05/08/2013 09:08:48 AM Git Commit Comment #4 Reply to this comment
Changes have been made in Git (master):

commit 6861c7202024b5755d04b90603aaf7f0b0c4a132
Author: Jan Schneider <jan@horde.org>
Date:   Wed May 8 11:08:13 2013 +0200

     Implement custom Toc parser to find custom Heading tokens (Bug #12233).

  wicked/lib/Page.php                         |    3 +
  wicked/lib/Text_Wiki/Parse/Default/Toc2.php |   86 +++++++++++++++++++++++++
  wicked/lib/Text_Wiki/Render/Latex/Toc2.php  |    7 ++
  wicked/lib/Text_Wiki/Render/Plain/Toc2.php  |    7 ++
  wicked/lib/Text_Wiki/Render/Rst/Toc.php     |   57 -----------------
  wicked/lib/Text_Wiki/Render/Rst/Toc2.php    |   57 +++++++++++++++++
  wicked/lib/Text_Wiki/Render/Xhtml/Toc.php   |   92 
---------------------------
  wicked/lib/Text_Wiki/Render/Xhtml/Toc2.php  |   92 
+++++++++++++++++++++++++++
  wicked/package.xml                          |   18 ++++--
  9 files changed, 264 insertions(+), 155 deletions(-)

http://git.horde.org/horde-git/-/commit/6861c7202024b5755d04b90603aaf7f0b0c4a132
05/03/2013 10:47:12 AM samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #3 Reply to this comment
Not sure how to fix this, especially since Text_Wiki is more or less 
unmaintained.
There are alternatives?
05/03/2013 08:52:55 AM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
This is a side-effect of 
https://github.com/horde/horde/commit/0c45a28c3f4d9131daa28d594bddcd23b6324ac4
The Heading parser of Text_Wiki is broken so we had to create our own. 
Unfortunately, the Toc parser uses the (now inactive) Heading parser 
to find the TOC contents. Not sure how to fix this, especially since 
Text_Wiki is more or less unmaintained.
05/02/2013 09:10:59 AM samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Table of Contents does not work (empty)
Queue ⇒ Wicked
Milestone ⇒
Patch ⇒ No
New Attachment: table_of_contents.png Download
State ⇒ Unconfirmed
Reply to this comment
Table of Contents is empty.

Saved Queries