Take the 2-minute tour ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

If I wanted to achieve the below, can I insert HTML markup inside of the page title on the node?

For example,

<h1 class="page-title">Dummy <span>page title</span> content</h1>
share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

Install HTML Title. It will solve your issue.

Drupal node titles are restrictive and do not support italicized text or superscript text (e.g., Book titles, trademark symbols). The HTML Title module allows a limited set of HTML markup (em, sub, sup, b, i, strong, cite, code, bdi, wbr) to be used in node titles.

Also take a look at Stack Overflow question HTML\rich text in Drupal's node title?.

share|improve this answer
    
Great thanks, I'll take a look at HTML title. –  imshuffling Mar 27 at 14:22
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.