Opened 10 years ago

inline mode always produces the same indexing

Reported by: Owned by: paresh.solanki@… osimons normal TocMacro normal 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


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

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

Forgot to reassign it.