Hi,

In the preview mode on the author environment Magnolia (4.5.9) renders HTML 
comments in the cms.area and cms.component (Freemarker) functions. E.g.:

[code]<!-- cms:area content="website:/test" name="mainContent" 
availableComponents="standard-templating-kit:components/content/stkHTML" 
type="single" label="test" inherit="false" editable="false" optional="false" 
showAddButton="false" showNewComponentArea="false" -->
[/code]

Is it possible to disable this behaviour?

The reason is that I want to render the page as a JSON response (in the preview 
mode) and HTML comments are not valid JSON.

regards,

Edgar

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=2fc983c6-0933-46da-a2d5-66301f035252


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to