Modx 2.1.5 adds two empty rows at the top of the page. I tried with 0th (empty) template and empty content, and there's always two carriage returns just above the first row of rendered template in the page source.
This does not do any harm for standard html pages, but breaks rss feeds altogether.
What can I do to fix this? Does this happen with your 2.1.5 installations?
I fixed it by upgrading to 2.0, but still interested if this bug exists in your installations?
-
MODX Staff
- 10,725 Posts
I imagine you may have edited your config file and added CR's after the closing (or before the opening) PHP tag. Also check from the UTF-8 BOM at the beginning of the file as it can cause similar behavior.
>you may have edited your config file and added CR's after the closing (or before the opening) PHP tag
Thank you, this was exactly why it happened