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

(bug) Fix String.sub exception if changelog length < 100 #1956

Merged
merged 1 commit into from Jan 16, 2024

Conversation

sabine
Copy link
Collaborator

@sabine sabine commented Jan 16, 2024

When changelog entry's body_html was shorter than 100 characters, String.sub call would cause an exception.

Also fixes invalid HTML by introducing a body field on changelog entry so that we can truncate this without leaving HTML tags unclosed.

@sabine sabine merged commit a903e4d into ocaml:main Jan 16, 2024
2 of 3 checks passed
@sabine sabine deleted the fix_string_sub_changelog branch January 16, 2024 14:18
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.

None yet

1 participant