Modify

Opened 7 years ago

Last modified 7 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

Description

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 7 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 7 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 7 years ago by osimons

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

Forgot to reassign it.

Add Comment

Modify Ticket

Action
as assigned .
Author


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

 
Note: See TracTickets for help on using tickets.