Skip to content

1.4.5 — ampersands and pasted text show properly

Choose a tag to compare

@github-actions github-actions released this 10 Oct 15:09
· 17 commits to main since this release

Fixed

  • & and spaces showed as &amp; and &nbsp; in posts. Scribe saves what you write as HTML, and its formatter wasn't decoding HTML entities. Any ampersand, and text pasted from Word or WordPress (non-breaking spaces, curly quotes), showed the literal entity instead of the character. Entities are now decoded. A < typed as text stays text.
  • Posts already affected are repaired by the update. A one-time migration reparses the posts Scribe stored that way. Posts written in Markdown are never touched, and repaired posts aren't marked as edited.
  • Page Builder article bodies written with Scribe display correctly as soon as you update. Nothing needs re-pasting.

Thanks to Wil Vincent for the report.

composer update ernestdefoe/scribe
php flarum migrate
php flarum cache:clear