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.
Hi.
I have Private Message installed.
On the messages page the icon tag is displayed as the page title and looks like this:
<i class="fa fa-envelope-o"></i> My Messages
How can i remove the "i"-tag?
Thanks.
Comments
Comment #2
stixer CreditAttribution: stixer commentedComment #3
ryan_neff CreditAttribution: ryan_neff as a volunteer commentedI suspect this is working as designed, and more of a Drupal problem then a font-awesome problem. Drupal is very picky about html in node titles. When a page is loaded,
drupal_get_title()
callscheck_plain()
, which should strip out your markup, so I'm not sure why your even seeing the<i>
tag.You can read more about how to override it using theme functions here:
http://drupal.stackexchange.com/questions/103755/add-html-to-a-nodes-title
There's also a module specifically for allowing html in titles:
https://www.drupal.org/project/html_title
Does either one of those fix the issue for you?
Comment #4
ryan_neff CreditAttribution: ryan_neff as a volunteer commentedComment #5
truls1502Comment #6
truls1502Unassigned the user