Discourse Markdown 插件错误

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)
  • 无论帖子中是否有 ruby 文本({...|...}),都会抛出错误。
  • 这篇帖子 https://meta.discourse.org/t/discourse-markdown-extensions-not-working-after-latest-discourse-upgrade/294155/1 似乎有类似的问题,但我已将扩展更新为 .js,但问题并未解决。
  • 我还通过将插件复制到我的仓库的 /assets/javascripts/vendor/markdown-it-ruby.js 文件中,将 markdown-it-ruby 插件更新到了最新版本 1.1.1。

提前感谢。抱歉有链接,我只能发布 2 个。

该行指向:

该插件可能需要更新才能正确挂钩 discourse-markdown-it