Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By BrendanHodge on
My site has a lot of book and movie reviews, and so I'm trying to find a way to put italics in the title as in having a story title be:
A Classic Revisitted: War and Peace
I can see that the database stores the title with HTML, so it must get stipped out at some point in the template process. Anyone know where?
Comments
Line 581 of theme.inc in
Line 581 of
theme.inc
intheme_node()
is:The
check_plain()
is what is causing your problem.Since this is a themed function, you can override it withou changing any core files. Just use any of the normal override techniques (http://drupal.org/node/11816 or http://drupal.org/node/11811).
- Corey
Hmmm, thanks. Yeah I
Hmmm, thanks. Yeah I managed late last night to hack a change in theme.inc which got me through, but I figured there was a better way to do it. Guess I need to study up on creating one of these template.php files...
Thanks again!