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

stixer created an issue. See original summary.

stixer’s picture

Issue summary: View changes
ryan_neff’s picture

I 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() calls check_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?

ryan_neff’s picture

Status: Active » Needs review
truls1502’s picture

Status: Needs review » Closed (works as designed)
truls1502’s picture

Assigned: stixer » Unassigned

Unassigned the user