Closed (works as designed)
Project:
tellafriend
Version:
5.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
25 Jan 2008 at 02:13 UTC
Updated:
31 Jan 2008 at 02:19 UTC
I run a site which requires an "&" in the title and the proper html way to do this is & however if I have this in the title the output from tellafreind shows the & in the e-mail. I was wondering if its possible to have it convert the character. I dont know how to write php but I can read it. If you don't want to add to the existing code could you just post the it. It would be very appreciated. You did a great job on the module other then that.
P.S.
I found many typos of the word "word" misspelled as "world"
Comments
Comment #1
eMPee584 commentedI just hit the exact same issue when I put » %laquo; into the title and it didn't work.. look at the 6.x-code shows
function check_plain($text) {
return drupal_validate_utf8($text) ? htmlspecialchars($text, ENT_QUOTES) : '';
}
so you do not have to put the html entity code into the title but just the special character.. and if it is not one of &,",',< or > it will not even be escaped at all, not even in the main node content.
So just use the & and you should be fine.