2 Replies Latest reply on Jan 22, 2015 1:08 PM by Carl Von Stetten

    CF 11 White Space output suppression ?

    macslayer

      Hello,

       

      I am having a dandy of a time figuring out why I cannot suppress a leading space in my

      cf 11 output.   I have requirements that I must not have leading or trailing white space.

      Not matter what I try, I get a leading space before the <html> tag.    Here is the code

      I have tried.

       

      <cfsetting enablecfoutputonly="true" showdebugoutput="no"/>

      <cfprocessingdirective suppressWhiteSpace="true"><cfsilent>

      <cfsavecontent variable="out_html"><cfoutput><html>

      <body>

      <p>

      OK

      </p>

      </body>

      </html></cfoutput></cfsavecontent>

      </cfsilent><cfoutput>#out_html#</cfoutput>

      </cfprocessingdirective>

       

      Any help appreciated.

       

      Thanks,

      bob