You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading to Statamic 5, I’ve encountered an issue where the Bard field is stripping whitespace in certain situations. Specifically, when using bold text or hyperlinks within a paragraph, the spaces before and after the formatted text are removed, causing words to run together.
Bard field before saving:
Html source before saving:
Bard field after saving:
Html source after saving:
How to reproduce
Create or edit an entry with a Bard field.
Type a paragraph of text.
Within the paragraph, select a word or phrase in the middle and apply bold formatting or insert a link.
After the V5 upgrade when I save a page with Bard fields, without making any content changes, it results in the whitespace being stripped. I get this change in the markdown/yaml content file of the page:
Bug description
After upgrading to Statamic 5, I’ve encountered an issue where the Bard field is stripping whitespace in certain situations. Specifically, when using bold text or hyperlinks within a paragraph, the spaces before and after the formatted text are removed, causing words to run together.
Bard field before saving:
Html source before saving:
Bard field after saving:
Html source after saving:
How to reproduce
Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Additional details
I use sets in my bard field.
The bard field does not Save as HTML.
The text was updated successfully, but these errors were encountered: