npryce / adr-tools

Command-line tools for working with Architecture Decision Records
Other
4.53k stars 578 forks source link

Fix: strip _any_ trailing line break character from the titles #140

Open anenviousguest opened 8 months ago

anenviousguest commented 8 months ago

Otherwise, when parsing *.md files with windows-style line breaks (CR-LF), one of the line break characters would remain in the title, thus breaking the markup for the table of content.

anenviousguest commented 8 months ago

@npryce would appreciate a feedback on this one, thank you.

anenviousguest commented 8 months ago

@npryce sorry for bumping this, but would be really helpful if this could be merged, it's painful to get this fixed locally on each and every windows host where I need to run adr-tools.

anenviousguest commented 7 months ago

@npryce hi, is there any chance to get a feedback on this one? Thank you.

anenviousguest commented 4 months ago

@npryce any chance to get this reviewed? thanks!