Modify

Opened 17 years ago

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

Owner: changed from Alec Thomas to osimons
Status: newassigned

Forgot to reassign it.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as assigned The owner will remain osimons.

Add Comment


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

 
Note: See TracTickets for help on using tickets.