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

[5.x] Support strings in bard_text & bard_html modifiers #10369

Merged
merged 3 commits into from
Jun 27, 2024

Conversation

edalzell
Copy link
Contributor

@edalzell edalzell commented Jun 26, 2024

When dealing with legacy Bard content (like I'm talking almost a decade old!!) that was stored as HTML and never re-saved, the bard_text & bard_html modifiers throw an error.

  • need to strip_tags in returned string (update test too)
  • same code in bard_html perhaps

@edalzell edalzell changed the title [5.x] Support strings in bard_text modifier [5.x] Support strings in bard_text & bard_html modifiers Jun 27, 2024
@jasonvarga jasonvarga merged commit a53391d into statamic:5.x Jun 27, 2024
20 checks passed
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