Closed (fixed)
Project:
Title
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Dec 2011 at 11:51 UTC
Updated:
19 Dec 2013 at 22:10 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedSame problem here.
Comment #2
uncoolbob commentedI get something similar when enabling a non-plain text processing method (e.g. filtered HTML) in order to try to get italics for a species name (e.g. Homo sapiens) as node title.
Comment #3
Greg Sims commentedWarning: htmlspecialchars() expects parameter 1 to be string, array given in check_plain() (line 1572 of .../includes/bootstrap.inc).
Same thing here. This happened when I turned on "filtered text" for the title field of a content type. I'm working with a website in Spanish and the title of the node translation is:
¿Quien es el Mayor?
The html entity at the beginning of this title is the upside down question mark that begins a question in Spanish. I need this to be converted to the upside down question mark character when the title is displayed.
Comment #4
Feet commentedI get the same thing when I enable 'Filtered text' for the Title field (which is what I want to do with the module).
Any solutions so far?
Comment #5
Greg Sims commentedI implemented a workaround for this issue. I changed $title to html_entity_decode($title, ENT_QUOTES) in page.tpl.php. I also changed $head_title to html_entity_decode($head_title, ENT_QUOTES) in html.tpl.php. This is clearly not a good solution to this issue but perhaps it will help someone as a workaround.
Comment #6
plachComment #7
Greg Sims commented@plach Are you sure this is a "feature request"? I'm not sure how you build a multi-language site without having special characters (like the upside down question mark for Spanish) in the node title. Is there another way?
Comment #8
plachPlain text supports the whole utf8 set pretty well, you don't need html for it to render properly.
Comment #9
andros commentedI can't render superscript and subscript characters with utf-8
Comment #10
andros commentedI work on an project which includes a biology website.
In this case would really make sens to have the ability for simple html in the title field, like superscript and subscript.
But as far as i can say drupal is filtering html out.
I don't think we need to filter all html out on the title field, some html tags can be really useful in some cases.
Comment #11
plachI agree this is a desirable feature, I'm just saying it's not a bug. And I have no time to work on this, unfortunately. Hopefully, if this is so badly needed as it seems, someone (including me) sooner or later will provide a patch.
Comment #12
plachThis is the only beta-blocker I see in the issue queue.
Comment #13
raulmuroc commentedCome'n we should move this issue! :-) and fix it!
Comment #14
acrollet commentedAt least as of 7.x-1.0-alpha7+7-dev, I am able to use an HTML input format with a title field without any issues.