Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Markdown field format breaking #930
Markdown field will save properly.
Markdown field is saved starting with a pipe character and tabbed indents for each line.
Steps to reproduce
Here's a screenshot of how it ends up:
And in the template:
Seems to happen when there are hard returns at the end of a textarea. I'm not sure if there are other instances that will trigger this as well.
Operating system: Ubuntu
Web server: Linode
PHP version: 7
Statamic version: 2.1.6
Updated from an older Statamic or fresh install: Updated from V1, but this is a new Fieldset and Collection.
From my server error log