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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(PrismicRichText): prevent extra whitespace between text #13

Merged
merged 1 commit into from
Aug 30, 2023

Conversation

angeloashmore
Copy link
Member

Types of changes

  • Chore (a non-breaking change which is related to package maintenance)
  • Bug fix (a non-breaking change which fixes an issue)
  • New feature (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

This PR fixes a bug in <PrismicRichText> where extra whitespace was added between text.

The bug was apparent when labels and plain text were used. Should the bug appear in other block types, the same whitespace-elimination strategy can be used.

Checklist:

  • My change requires an update to the official documentation.
  • All TSDoc comments are up-to-date and new ones have been added where necessary.
  • All new and existing tests are passing.

馃悺

@angeloashmore angeloashmore merged commit 1502f92 into master Aug 30, 2023
12 checks passed
@angeloashmore angeloashmore deleted the aa/fix-prismicrichtext-whitespace branch August 30, 2023 21:35
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