Active
Project:
Heading Normalizer
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Feb 2011 at 11:38 UTC
Updated:
12 Feb 2012 at 05:23 UTC
The filter is not triggered if the heading tag contains an attribute.
On the same page:
<h1 align="center">foobar</h1> - is ignored
<h1>foobar</h1> - heading normalized
Comments
Comment #1
miro_dietiker7.x-1.x seems to do things better when containing attributes.
However i'm not lucky yet about the code.
We possibly should even use a DOM/SAX parser to go through the HTML. That would be much cleaner.