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 creation of need title nodes #1008

Merged
merged 1 commit into from
Sep 4, 2023
Merged

Conversation

chrisjsewell
Copy link
Member

Previously the logic was mistakenly looping over every character of the string, and so creating a Text node per character, rather than a single Text node for the full title string.

Previously the logic was mistakenly looping over every character of the string, and so creating a `Text` node per character, rather than a single `Text` node for the full title string.
@chrisjsewell chrisjsewell requested a review from danwos September 3, 2023 11:02
Copy link
Member

@danwos danwos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ohh, good finding and thanks for the fix 👍

Maybe this brings us also a little performance boost, as the Text()-initialization is used quite often (especially with the bug).

@chrisjsewell chrisjsewell merged commit bf359b2 into master Sep 4, 2023
@chrisjsewell chrisjsewell deleted the fix-needs-data-text branch September 4, 2023 06:53
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