Hi
I need content_of_table module works with Filtered HTML input format.
So what tags should I add to the Filtered HTML input format?
Hi
I need content_of_table module works with Filtered HTML input format.
So what tags should I add to the Filtered HTML input format?
Comments
Comment #1
deviantintegral commentedFirst, place the Table of Contents and Heading Anchors filters after the filtered HTML format. That way nothing being output from the filter itself will need to be allowed to users directly. For example, the TOC is in a div tag, which you probably don't want users to be able to use.
Then, in the filtered HTML settings, put in whatever heading values you want your users to use. Many will just do h1-h6, I tend to do h3-h6 so that the headings don't compete with node title headings.
HTH,
--Andrew
Comment #2
david@thrale.com commentedI have a similar problem. TOC works fine in full html mode, but with the more secure filtered mode the TOC border and shaded background are absent and the font is the same as body text, i.e larger, and the heading "Table of contents [hide]" is erroneously left aligned.
My filter order is...
I changed this as I think is recommended here to ...
... and the TOC completely disappears. BTW I have activated H2 & H3 which are the only headings I use.
Could anyone suggest a solution? Thanks in advance!
Comment #3
avpadernoComment #4
deviantintegral commentedHere is the order I have on a D5 site I have in production:
We look to have many of the same filters. Can you try disabling filters and then re-enabling them one at a time to determine which one is causing the issue?
Comment #5
smokrisIf I understand correctly, Drupal 6.x's "HTML Filter" input filter is hardcoded to strip all HTML Comments, so placing it before Table Of Contents will not work.
However, http://drupal.org/project/htmLawed is an alternative to "HTML Filter", which can be configured to pass HTML Comments through, and should work with Table Of Contents.
Comment #6
AlexisWilke commentedGet 3.x-dev and use [toc ...] instead.
Thank you.
Alexis Wilke