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

Clip at newline #25

Merged
merged 1 commit into from
Dec 14, 2023
Merged

Clip at newline #25

merged 1 commit into from
Dec 14, 2023

Conversation

rhullah
Copy link
Contributor

@rhullah rhullah commented Dec 11, 2023

Sorry for the quick follow-up PR, but after some testing I realized that clipping could be done in the middle of some MD content. This is to help prevent that by clipping at the last newline. It won't catch all cases, but should catch the majority.

In order to reduce clipping in the middle of some MD formatting (like a URL), clip at the last newline
@rhullah
Copy link
Contributor Author

rhullah commented Dec 13, 2023

@SethCohen sorry to ping you again, but I had a followup PR.

@SethCohen SethCohen merged commit 97a4813 into SethCohen:master Dec 14, 2023
1 check passed
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.

2 participants