Hi. I note that on Nancy's site, the word "Drupal" brings up a hovertip that has a header in it. I'm assuming this is a glossary item, and I've been trying to get my glossary items to have headers too, but it doesn't seem to work; when I put HTML in the glossary item, it just disappears. I'd like some information on this, preferably in the documentation.
Comments
Comment #1
nancydruI'd have to do some checking, but I can pretty much guarantee that the version on my site is "older" than the current version. I'm so busy with module maintenance that I have trouble keeping up with all my sites (I even have a couple that are still on 5.1).
Originally, Glossary did a check_plain which disallowed HTML in the term description. At some point, I removed that, but I think it has crept back in for some reason that escapes me at the moment.
Comment #2
wayland76 commentedCan we have it configurable?
Comment #3
nancydruPersonally I don't want check_plain at all. I looked at it today and you should be able to do what I do.
Comment #4
nancydruHTML in a term's description works. You do, however, need to make sure that any tags used in the description are allowed in the default input format (usually Filtered HTML).
Docs updated: http://drupal.org/node/201763#html
Comment #5
wayland76 commentedNot on my site it doesn't. I have a glossary item which displays italics on the glossary page, but the hovertip has no italics. The default filter is one called "MediaWiki", which is based on Flexifilter, but since that's used on the glossary page too, you would think that it would work just fine. However, I'm happy if we postpone this until the hovertips are 100% ported to 6.x.
Comment #6
nancydruOops, I wish you had said that to start with. I had this fixed once and it got messed up again.
On line 411, you can change "$term_title" to "$term->description" and it will work. I am committing a fix that will roll up at Noon GMT.
Comment #7
nancydruOh, what the heck, I just made a new release with this in it.
Comment #8
wayland76 commentedAgreed, fixed. Thanks a lot!
Comment #9
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.