Posted by dupalaccount on September 24, 2009 at 9:32am
| Project: | Table of Contents |
| Version: | 5.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Hi there
If you have something like this:
<h1>2009</h1>
<h2>test</h2>
<h3>8000</h3>
<h1>2010</h1>
<h3>9000</h3>TOC will output:
1. test
1. 8000
2. 9000This behavior appears also in version 2.3
Regards Jens
Comments
#1
Jens,
I had noticed some problems, but had not really determined what it was. That's indeed a big one! I will look into it soon. Thank you for the clear test sample.
Thank you.
Alexis
#2
Same problem here.
It's probably a problem with the regexp.
#3
I tried last night and could not reproduce that problem with the current version... (and I thought I posted a comment here last night?! maybe I did write it and not click Save...)
Could you try with the newest -dev version? (Feb 8)
Thank you.
Alexis Wilke
#4
Sorry, I got confused between my D6 sites and my D5 ones.
I just tested the latest TOC on a D6 and I can't reproduce.
I don't know about the OP, but I experience the bug on a D5 site with tableofcontents-5-x-2.2
#5
Tested it with the Feb. 8-Dev and still got the same result. Used the "Full HTML" Preset with the order: URL filter, Line break converter, TOC, HTML corrector.
#6
JFTR: this is working @ Drupal 6.16 and ToC 6.x-3.4 version, just tested.
I suppose it's OK if I change status to fixed.. :)
#7
mariomaric,
I'm reopening as a D5 problem since it is not fixed in D5.
Thank you.
Alexis