Closed (won't fix)
Project:
Drupal core
Version:
7.0
Component:
node system
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Jul 2011 at 21:43 UTC
Updated:
4 Jul 2011 at 22:31 UTC
I created a new page and cut-and-pasted the following HTML (from google calendar):
<iframe src="https://www.google.com/calendar/embed?height=600&wkst=1&bgcolor=%23FFFFFF&src=gv6qlc5qm9dugamgej6p3gv4ao%40group.calendar.google.com&color=%23125A12&ctz=America%2FNew_York" style=" border-width:0 " width="650" height="600" frameborder="0" scrolling="no"></iframe>
The calendar displays fine, but is preceded by the text "BODY:". The generated HTML looks like:
<div class="field field-name-body field-type-text-with-summary field-label-above"><div class="field-label">Body: </div><div class="field-items"><div class="field-item even" property="content:encoded"><p><iframe src="https://www.google.com/calendar/embed?height=600&wkst=1&bgcolor=%23FFFFFF&src=gv6qlc5qm9dugamgej6p3gv4ao%40group.calendar.google.com&color=%23125A12&ctz=America%2FNew_York" style=" border-width:0 " width="650" height="600" frameborder="0" scrolling="no"></iframe></p>
Note the
<div class="field-label">Body: </div>
See attached screenshot.
Comments
Comment #1
roy smith commentedI don't know what this means but I've just discovered that when you Preview the page while editing it, the trimmed version does not have the BODY: text, but the full version does.
Comment #2
roy smith commentedI don't know what made me think this was related to iframes. It's happening with just plain text too.
Comment #3
roy smith commentedLooking at the code, this seems to be happening in field.module:theme_field(). It does not seem to be a theme problem per-se. I get the same result using Garland, Marinelli, and Danland.
Comment #4
damien tournoud commentedThank you for your interest, but this is not a support forum. Your questions would be better asked in the forum. See also http://drupal.org/support for other support options.