Modify

Opened 10 years ago

Last modified 9 years ago

#1615 assigned defect

inline mode always produces the same indexing

Reported by: paresh.solanki@… Owned by: Odd Simon Simonsen
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 10 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 9 years ago by Odd Simon Simonsen

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 9 years ago by Odd Simon Simonsen

Owner: changed from Alec Thomas to Odd Simon Simonsen
Status: newassigned

Forgot to reassign it.

Modify Ticket

Action
as assigned The owner will remain Odd Simon Simonsen.

Add Comment


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

 
Note: See TracTickets for help on using tickets.