Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

anenviousguest
Copy link

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.

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
Copy link
Author

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

@anenviousguest
Copy link
Author

@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
Copy link
Author

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

@anenviousguest
Copy link
Author

@npryce any chance to get this reviewed? thanks!

halostatue pushed a commit to halostatue/adr-tools that referenced this pull request Jul 20, 2024
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.

npryce#140
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant