• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WO eats HTML comments?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WO eats HTML comments?


  • Subject: Re: WO eats HTML comments?
  • From: Ramsey Lee Gurley <email@hidden>
  • Date: Tue, 25 Nov 2008 14:07:53 -0500

Ahh, so it is WO eating them. I didn't think it was WOLips because the comments were in the build folder. I should probably file a bug with Apple regarding that trailing endif then...

Thanks for point out the source of the issue Guido!

Ramsey


On Nov 25, 2008, at 1:55 PM, Guido Neitzer wrote:

setIncludeCommentsInResponses(true) in your application.

cug

On 25.11.2008, at 11:52, Ramsey Lee Gurley wrote:

Hi all,

I'm trying to do something using IE's conditional comments (http://juicystudio.com/article/object-paranoia.php ) and what starts as

<!--[if IE]>
<object id="IEQT"
classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
width="320"
height="270">
<param name="src" value="magpie2_demo.qt.smil"/>
<param name="autoplay" value="true"/>
<param name="controller" value="true"/>
</object>
<![endif]-->
<!--[if !IE]> <-->
<object id="NonIEQT"
data="magpie2_demo.qt.smil"
type="video/quicktime"
width="320"
height="270">
<param name="autoplay" value="-1"/>
<param name="controller" value="-1"/>
</object>
<!--> <![endif]-->
Comes out on the page looking like:
<object id="NonIEQT"
data="magpie2_demo.qt.smil"
type="video/quicktime"
width="320"
height="270">
<param name="autoplay" value="-1"/>
<param name="controller" value="-1"/>
</object>
<![endif]-->
Is there some way to preserve these comments? It seems like a bug either way given that trailing <![endif]--> isn't stripped. Is this something WO is doing? Comments appear to be preserved in the build folder.
Thanks all,
Ramsey


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: WO eats HTML comments?
      • From: Guido Neitzer <email@hidden>
References: 
 >WO eats HTML comments? (From: Ramsey Lee Gurley <email@hidden>)
 >Re: WO eats HTML comments? (From: Guido Neitzer <email@hidden>)

  • Prev by Date: Re: WO eats HTML comments?
  • Next by Date: Re: WO eats HTML comments?
  • Previous by thread: Re: WO eats HTML comments?
  • Next by thread: Re: WO eats HTML comments?
  • Index(es):
    • Date
    • Thread