Display (not a really bug after investigation) when using cascading for the title

I want to create my own title from tiddler fields when the tiddler is an instance of a class I have defined (those tiddlers are named with meaningless incremental numbers).

So I have my title template, and my filter inserted in first place in the $:/tags/ViewTemplateTitleFilter list.

My title template is correctly called BUT displayed lower that the default title!

When inspecting the html in both cases, I have discovered that a <p> tag had been added around the <h2 class="tc-title">...</h2> for my title, even if I use the same template content than the default one.

I think you need to share a simple representation of your code to make it easier for people to help. Or explain it a little more.

Bug found, it was in my (noob) code. Using mode="block" for transclusion produces a <p></p> block around my title, creating the ugly display.