I use sitemesh for page decoration in my web app.
I have a form where the contents of a textarea field is a complete html page.
The problem is that when Sitemesh parses this page it extracts the title, head and body from my textarea field and decorates the page with it.
<textarea name="page_content">
<!-- tags below should not be parsed by Sitemesh -->
<html>
<head>...</head>
<body>...</body>
</html>
</textarea>
It seems that the Sitemesh page parser does care that it has already seen these tags in the page.
Do you have any ideas on how to prevent Sitemesh from parsing the content of the textarea?