Repository navigation
1.4.7 — code blocks show just the code
Code blocks show just the code
Fixed
- Code blocks no longer show a literal
<code>around their contents. The editor writes a code block as<pre><code>…</code></pre>, and Scribe was keeping the inner<code>as text. Code blocks now show only the code, and keep their syntax highlighting.
After updating
Run the migration. It repairs posts and private messages already saved with this problem, or with the stray </p> after an uploaded file fixed in 1.4.6. Only affected content written with Scribe is touched, and nothing is marked as edited or sends notifications again.
composer update ernestdefoe/scribe
php flarum migrate
php flarum cache:clear