ColdFusion, no matter what version, will never tamper with your string,
'local.selectlayout', in this way. It does not care that your string
contains HTML and it won't try to parse it in any way unless you write some
code to tell it to do that. All CF knows and cares is that you've created a
string variable called 'local.selectlayout' using cfsavecontent.

As others have said, the only feasible explanation is that you are viewing a
representation of the DOM in a tool such as FireBug or the Chrome element
inspector (these aren't tidy representations of the actual page source, they
are tidy representations of the browser's *interpretation* of the page
source). The pointing out of invalid HTML is relevant to your OP as the
browser will need to interpret it in some other way to that which it is
written. In other words, the browser is 'changing' your code, not CF.

Dominic

On 12 December 2010 15:22, Michael Grant <[email protected]> wrote:

>
> I have to parrot what a lot of others seem to be saying about how you are
> actually viewing the source. Browsers these days do a lot to try to fix bad
> code. Perhaps just write the generated html to a textarea form field or a
> text file to verify that it's actually being changed by CF. I've never
> really known CF to modify any code that you've programmatically created..
>
>
> On Sat, Dec 11, 2010 at 11:18 PM, Stephen Cassady <
> [email protected]> wrote:
>
> >
> > >Fieldset is a Form tag item not a Table item.
> >
> > I understand that, and the final output is within a form. I'm just
> > wondering, instead of commenting on the use of the tag as exampled
> (correct
> > or incorrect), if anyone else can duplipcate what I seem to have stumbled
> > over as an edge case. CF 9, patched.
> >
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340017
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to