middleman / middleman-blog

Blog Engine Extension for Middleman
https://middlemanapp.com
MIT License
325 stars 179 forks source link

`middleman article` generates incorrect yaml when the title contains characters that should be escaped #377

Closed rinpatch closed 4 months ago

rinpatch commented 4 years ago

Expected behaviour

Running middleman article "Title with: a colon" with default new article template would generate a correct source file.

Actual behaviour

YAML Exception parsing /home/rin/sw/pleroma.social/source/blog/2020-03-16-title-with-a-colon.html.markdown: (<unknown>): mapping values are not allowed in this context at line 2 column 18

Steps to reproduce the problem

Run middleman article "Title with: a colon" in a project with no custom new article template defined.

Additional information

markets commented 4 months ago

ℹ️ This issue is stale because it has been open for more than 90 days with no activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.