I was just looking back and found a strange thing, which, indeed I can reproduce:
Trying to find out how Avander_be’s issue might be solved I did the following:
1. created a new template which contains nothing but the placeholder [*content*]
2. created a snippet [[justtext]] with just one statement:
return "comma delimited content";
3. created a doc, using the new template and with a document-content of [[justtext]]
4. set that doc (in "page settings") to have the content type of "text/plain" and content disposition of "Attachment"
When I go to that doc, the browser says that there is a file to be downloaded (doc-title) as ASCII text.
And when I download it (takes quite a while), the file has the following content:
<html><head><title>MODx Content Manager » </title>
<style>TD, BODY { font-size: 11px; font-family:verdana; }</style>
<script type='text/javascript'>
function copyToClip()
{
holdtext.innerText = sqlHolder.innerText;
Copied = holdtext.createTextRange();
Copied.execCommand('Copy');
}
</script>
</head><body>
<h3 style='color:red'>« MODx Parse Error »</h3>
<table border='0' cellpadding='1' cellspacing='0'>
<tr><td colspan='3'>MODx encountered the following error while attempting to parse the requested resource:</td></tr>
<tr><td colspan='3'><b style='color:red;'>« PHP Parse Error »</b></td></tr><tr><td> </td></tr><tr><td colspan='3'><b>PHP error debug</b></td></tr><tr><td valign='top'> Error: </td><td colspan='2'>explode() [<a href='function.explode'>function.explode</a>]: Empty delimiter.</td><td> </td></tr><tr><td valign='top'> Error type/ Nr.: </td><td colspan='2'>Warning - 2</b></td><td> </td></tr><tr><td> File: </td><td colspan='2'>/Applications/MAMP/htdocs/modx/manager/includes/document.parser.class.inc.php(681) : eval()'d code</td><td> </td></tr><tr><td> Line: </td><td colspan='2'>195</td><td> </td></tr><tr><td> </td></tr><tr><td colspan='3'><b>Parser timing</b></td></tr><tr><td> MySQL: </td><td><i>0.1004 s s</i></td><td>(<i>44 Requests</i>)</td></tr><tr><td> PHP: </td><td><i>0.1956 s s</i></td><td> </td></tr><tr><td> Total: </td><td><i>0.2960 s s</i></td><td> </td></tr></table></body></html>
Strange, but reproduceable

EDIT: the preview of that doc shows exactly that code. When I click "edit" I see "[[justtext]]" again!