Errore nel plugin Markdown di Discourse

Started POST "/posts" for 172.17.0.1 at 2024-11-25 22:17:41 +0000
Processing by PostsController#create as JSON
  Parameters: {"raw"=>"updated ruby plugin\n\ntesting ruby:\n\n{汝|lí}{好|hó}", "unlist_topic"=>"false", "category"=>"3", "topic_id"=>"71", "is_warning"=>"false", "archetype"=>"regular", "typing_duration_msecs"=>"200", "composer_open_duration_msecs"=>"2658", "featured_link"=>"", "shared_draft"=>"false", "draft_key"=>"topic_71", "nested_post"=>"true"}
[PrettyText] BAD MARKDOWN CALLBACK FOUND
[PrettyText] FEATURE IS: md-ruby
Completed 500 Internal Server Error in 76ms (ActiveRecord: 0.0ms | Allocations: 4230)
  • L’errore viene generato indipendentemente dal fatto che ci sia o meno del testo ruby ({...|...}) nel post.
  • Questo post https://meta.discourse.org/t/discourse-markdown-extensions-not-working-after-latest-discourse-upgrade/294155/1 sembrava avere un problema simile, ma ho aggiornato l’estensione a .js e non si è risolto.
  • Ho anche aggiornato il plugin markdown-it-ruby all’ultima versione 1.1.1 copiando il plugin nel file /assets/javascripts/vendor/markdown-it-ruby.js nel mio repository.

Grazie in anticipo. Scusa per i link, posso postarne solo 2.

Quella riga punta a:

Il plugin probabilmente deve essere aggiornato per agganciare correttamente discourse-markdown-it.