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