Issues with passing CRLF to pulldown_cmark
Closed this issue · 2 comments
markbahnman commented
There's an issue when developing on windows with code blocks in a markdown file such as
```
fn foo () {
"bar";
}
```
Windows seems to send \r\n
which pulldown_cmark doesn't handle well (github issue) and ends up inserting an error message into the resultant html. I fixed it for myself here
markbahnman@7a762d5 but there might be a better way to handle it.
grego commented
Fixed this inside cmark-syntax: grego/cmark-syntax@6439dd7
Available in blades v0.5
Please let me know if it solves the issue.
markbahnman commented
Yup, that seems to solve it, thanks!