Defect #3707

{{toc}} doesn't work with {{include}}

Added by Toshiya TSURU about 5 years ago. Updated almost 4 years ago.

Status:ClosedStart date:2009-08-03
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Wiki
Target version:1.1.0
Resolution:Fixed Affected version:0.8.4

Description

{{toc}} macro doesn't recognize h1,h2..hn inside included page.


Related issues

Duplicated by Defect #5888: {{toc}} macro doesn't get headers from {{include}}d pages Closed 2010-07-15

Associated revisions

Revision 4376
Added by Jean-Philippe Lang almost 4 years ago

Extract headings and TOC parsing from the textile formatter.

Fixes #2038 and #3707 and will allow to support TOC with other text formatters.

History

#1 Updated by Oskar Nordquist about 5 years ago

I have the same issue. Does anyone have any idea how this can be fixed? An ugly hack is fine by me.

#2 Updated by ha thach over 4 years ago

+1 for this, also think the toc of included page should not be displayed on including page

#3 Updated by Mischa The Evil over 4 years ago

  • Category set to Wiki

#4 Updated by Jean-Philippe Lang almost 4 years ago

  • Status changed from New to Closed
  • Target version set to 1.1.0
  • Resolution set to Fixed

Fixed in r4376.

Also available in: Atom PDF