Opened 9 years ago

Last modified 8 years ago

#1615 assigned defect

inline mode always produces the same indexing

Reported by: paresh.solanki@… Owned by: osimons
Priority: normal Component: TocMacro
Severity: normal Keywords:
Cc: Trac Release: 0.10


When using TOC Macro for multiple pages in inline mode, the pages always have the same index number. For example;

[[TOC(MyPage, AnotherPage, inline)]]

results in this output

  1. MyPage
  1. AnotherPage

I would have expected this

  1. MyPage
  2. AnotherPage

Attachments (0)

Change History (3)

comment:1 Changed 9 years ago by paresh.solanki@…

Looking at the html source generated from the wiki, I get this line

<ol><li><a href="...#MyPage">MyPage</a></li></ol>
<ol><li><a href="...#AnotherPage">AnotherPage</a></li></ol>

Since the <ol></ol> tag is repeated for each line, the list is re-started each time.

comment:2 Changed 8 years ago by osimons

Not sure from when, but this is no longer the case with the 0.11 version at least.

Leaving it open to see if I find time to look into the 0.10 version, but don't expect too much.

comment:3 Changed 8 years ago by osimons

  • Owner changed from athomas to osimons
  • Status changed from new to assigned

Forgot to reassign it.

Add Comment

Modify Ticket

as assigned The owner will remain osimons.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.