[support] drupal 7 problem with text encoding

Hummel, Tracey S - (thummel) thummel at email.arizona.edu
Wed Nov 9 19:34:05 UTC 2011


I'm having a problem with text filters in Drupal 7.    Without any rich text editor installed,  if I add the code below in a Full HTML format text area, the html codes get sanitized.

Added:   <a href="/session/session-one">Session One</a>    <img src="/files/logo.gif">Logo

Sanitized to:     <a href=\"/session/session-one\">Session One</a>   <img src=\"/files/logo.gif\">Logo

When I add the Wysiwyg module with the CFKeditor engine, the sanitization strips out even more:

Added:   <a href="/session/session-one">Session One</a>  <img src="/files/logo.gif">Logo

Sanitized to:     <p><a href="\">Session One</a> <img src="\" />Logo</p>

The Full HTML text format is configured to:

*         Convert URLs into links

*         Convert line breaks into HTML (i.e. <br> and <p>)

*         Correct faulty and chopped off HTML

I can't find any other configs that might be affecting this.  Please help.

Thanks,
Tracey

____________
Tracey Hummel
University of Arizona
University Information Technology Services, Web Services
1077 N Highland Ave, Room 337, Tucson, AZ 85721
(520) 626-5139
tracey at arizona.edu
http://tshummel.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20111109/d351c107/attachment-0001.html 


More information about the support mailing list