I' m missing something.

the :html field works fine if i directly save on the database the
following code:

<iframe width="425" height="350" frameborder="0" scrolling="no"
marginheight="0" marginwidth="0" src="http://maps.google.com/?
ie=UTF8&amp;ll=37.0625,-95.677068&amp;spn=38.365962,79.013672&amp;t=h&amp;z=4&amp;output=embed"></
iframe><br /><small><a href="http://maps.google.com/?
ie=UTF8&amp;ll=37.0625,-95.677068&amp;spn=38.365962,79.013672&amp;t=h&amp;z=4&amp;source=embed"
style="color:#0000FF;text-align:left">View Larger Map</a></small>

But if I save on the form the same code, it only save the on the
database the following :

<a href="http://maps.google.com/?
ie=UTF8&amp;ll=37.0625,-95.677068&amp;spn=38.365962,79.013672&amp;t=h&amp;z=4&amp;source=embed"
style="color: #0000FF; text-align: left;">View Larger Map</a>

Any idea why the iframe tag is missing?

Thanks!

On Mar 28, 3:37 pm, Daniel M <[email protected]> wrote:
> :htmlIt works, thank you!
>
> On 16 Mar, 16:49, mindbender <[email protected]> wrote:
>
>
>
> > Great, thanks!
>
> > .rzs.
>
> > On Mar 16, 4:20 pm, Matt Jones <[email protected]> wrote:
>
> > > I've run into this before - try :raw_html, as it avoids the  
> > > sanitization process that :htmlfields go through.
>
> > > --Matt Jones
>
> > > On Mar 16, 2010, at 10:26 AM, mindbender wrote:
>
> > > > Hello,
>
> > > > I use :htmlfield type, and everything is fine, except table tags
> > > > (table, tbody, td, tr) are stripped out. Only the table content
> > > > displayed, the tags are gone, however if I output the field value to
> > > > the logger the tags are over there. Anyone has experience with this?
>
> > > > thx,
>
> > > > .rzs.
>
> > > > On Mar 16, 1:39 am, Bryan Larsen <[email protected]> wrote:
> > > >> Set your field type to be :htmlrather than :text, and it will avoid
> > > >> being escaped.
>
> > > >> Bryan
>
> > > >> Daniel M wrote:
> > > >>> Hi all.
>
> > > >>> If i savehtmlcode like this on a text field:
>
> > > >>> <iframe width="425" height="350" frameborder="0" scrolling="no"
> > > >>> marginheight="0" marginwidth="0" src="http://maps.google.com/?
> > > >>> ie
> > > >>> =
> > > >>> UTF8
> > > >>> &amp
> > > >>> ;t
> > > >>> =
> > > >>> h
> > > >>> &amp
> > > >>> ;ll
> > > >>> =
> > > >>> 37.0625
> > > >>> ,-95.677068&amp;spn=24.455808,37.353516&amp;z=4&amp;output=embed"></
> > > >>> iframe><br /><small><a href="http://maps.google.com/?
> > > >>> ie
> > > >>> =
> > > >>> UTF8
> > > >>> &amp
> > > >>> ;t
> > > >>> =
> > > >>> h
> > > >>> &amp
> > > >>> ;ll
> > > >>> =
> > > >>> 37.0625
> > > >>> ,-95.677068&amp;spn=24.455808,37.353516&amp;z=4&amp;source=embed"
> > > >>> style="color:#0000FF;text-align:left">View Larger Map</a></small>
>
> > > >>> the show page render thehtmllike it is.
>
> > > >>> The idea is to be able to render rawhtmlcode inline on a hobo page
> > > >>> for the show page render the embedhtmlin website
>
> > > >>> Any ideas?
>
> > > >>> Thanks in advance
>
> > > > --
> > > > You received this message because you are subscribed to the Google  
> > > > Groups "Hobo Users" group.
> > > > To post to this group, send email to [email protected].
> > > > To unsubscribe from this group, send email to 
> > > > [email protected]
> > > > .
> > > > For more options, visit this group 
> > > > athttp://groups.google.com/group/hobousers?hl=en
> > > > .

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to