prismicio / prismic-svelte

Svelte components and helpers to fetch and present Prismic content
https://prismic.io/docs/technical-reference/prismicio-svelte
Apache License 2.0
21 stars 6 forks source link

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

Closed angeloashmore closed 1 year ago

angeloashmore commented 1 year ago

Types of changes

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:

🐡