Sorry if this is a commonplace or trivial question, but searching this forum on the obvious strings I could think of produced no results. I'd sometimes like to add html elements like <em> to a post title (reviewing a book, for example, in which the entry title should include the book title) or character entities like —, but they get escaped out rather than treated literally as they would be in the entry body.
Is this a consequence of one of the plugins? How can I change this behavior? Thanks!
Entry titles have escaped html tags and char entities
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Entry titles have escaped html tags and char entities
Hi!
This is more of a template issue; you can edit your entries.tpl template file and there use $entry.html_title instead of $entry.title, which will contain an unescaped title string.
HTH,
Garvin
This is more of a template issue; you can edit your entries.tpl template file and there use $entry.html_title instead of $entry.title, which will contain an unescaped title string.
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: Entry titles have escaped html tags and char entities
Splendid, thank you!