caolan / caolan/wmd

Metadata parsing does not work on Windows

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
15
Forks
6
PR merge metrics
No merged PRs in 30d

Description

https://github.com/caolan/wmd/blob/master/lib/preprocessors.js uses `\n` as the newline character and thus fails to correctly parse metadata lines on Windows.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with lib/preprocessors.js, which the issue identifies as using the wrong newline character for metadata parsing. Check how metadata lines are split and verify the result against Windows line endings; done means metadata parses correctly on Windows without breaking existing newline handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.