Defect #3707

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

Added by Toshiya TSURU about 13 years ago. Updated almost 12 years ago.

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


Target version:1.1.0
Resolution:Fixed Affected version:0.8.4


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

Related issues

Duplicated by Redmine - 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 12 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.


#1 Updated by Oskar Nordquist about 13 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 12 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 about 12 years ago

  • Category set to Wiki

#4 Updated by Jean-Philippe Lang almost 12 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