jmacdotorg / plerd

Ultralight Dropbox-friendly Markdown-based blogging.
MIT License
112 stars 21 forks source link

CRLF newlines in source files mess up publication #25

Open jmacdotorg opened 6 years ago

jmacdotorg commented 6 years ago

If a post's source file uses CRLF (a.k.a. "Windows") newlines instead of nice tidy LF ("Unix") ones, then Plerd will be prevented from publishing because it can't read the post's metadata attributes properly.

(I would often see this expressed as The "time" attribute is not in W3C format. in plerdall error message or as a plerdwatcher log entry.)

Plerd should either accept CRLFs, or fail with a more appropriate error message.