OK - this took me a while to see what was happening, and need to confirm if 
this happens to other people, or if this is expected behaviour.

Create a cfc with this function

        <cffunction     access="public"         
                        name="test" 
                        output="true" 
                        returntype="string"> 

        <cfsavecontent variable="local.selectlayout">          
        
        <table>
        <fieldset>
        <tr><td>test</td></tr>
        </fieldset>
        </table>

        </cfsavecontent>

        <cfreturn local.selectlayout>   
     </cffunction>

invoke the cfc and output the return:
<cfinvoke component="#application.cfc.email#" method="test" 
returnvariable="returnedvar" />
<Cfoutput>#returnedvar#</cfoutput>

This is what I get:

<fieldset>
</fieldset><table>
<tbody><tr><td>test</td></tr>
</tbody></table>

Note it shoves the fieldset outside the table, and adds tbody.

Do I have something else (rogue code somewhere) that is forcing this behaviour, 
or does this happen with you?

Stephen



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:339794
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to