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. 9000

This 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

Version:6.x-3.1» 5.x-2.2

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

Version:5.x-2.2» 6.x-3.x-dev

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.

AttachmentSize
toc.png 19.95 KB

#6

Version:6.x-3.x-dev» 6.x-3.4
Status:active» fixed

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

Version:6.x-3.4» 5.x-2.x-dev
Status:fixed» active

mariomaric,

I'm reopening as a D5 problem since it is not fixed in D5.

Thank you.
Alexis

nobody click here