Closed (fixed)
Project:
Table of Contents
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Feb 2007 at 11:53 UTC
Updated:
4 Nov 2007 at 20:44 UTC
I've considered it a bug, not a feature. I don't know for sure what it is:P
Table of contents should not appear in teaser of nodes. I know the links don't appear in teaser, but the title appears.
Firstly, I guess "Table of contents" title should not appear in teaser.
Secondly, even on full pages, the "Table of contents" title should be optional. But this is not as important as the fact the title appears in teasers.
Comments
Comment #1
madjr commentedTo solve this just strip/filter the html tags from the teasers using strip_tags
you can view the solution here:
http://drupal.org/node/104659
you can additionally format strip_tags to allow line breaks, bold text, etc.
Comment #2
deviantintegral commentedIf there is a way to set a filter to only run on the body, and not the teaser, please post here and let me know.
On the current site I use this, we use the excerpt module to control teasers, so this could be a (possible) solution. But strip_tags as above is probably your best solution.
--Andrew