Ruby on rails 只有链接被rails中的acts_as_纺织插件弄乱了?

Ruby on rails 只有链接被rails中的acts_as_纺织插件弄乱了?,ruby-on-rails,textile,Ruby On Rails,Textile,以下是模型。我已经在Rails 2.3.2上安装了Redcloth4.2.2和acts_as_textiled插件 class Post < ActiveRecord::Base acts_as_textiled :content end 现在从控制台: [Staging]>> post = Post.new(:title => 'the post title', :content => 'the link is "linked":http://www.cc.

以下是模型。我已经在Rails 2.3.2上安装了Redcloth4.2.2和acts_as_textiled插件

class Post < ActiveRecord::Base
  acts_as_textiled :content
end
现在从控制台:

[Staging]>> post = Post.new(:title => 'the post title', :content => 'the link is "linked":http://www.cc.com', :user_id => 1)
=> #<Post id: nil, title: "the post title", content: "the link is \"linked\":http://www.cc.com", user_id: 1, comments_count: 0, published_at: nil, created_at: nil, updated_at: nil>
[Staging]>> post.content
=> "<p>the link is &#8220;linked&#8221;:<a href=\"http://www.cc.com\">http://www.cc.com</a></p>"
[Staging]>> post.save
=> true
[Staging]>> post.content
=> "<p>the link is &#8220;linked&#8221;:<a href=\"http://www.cc.com\">http://www.cc.com</a></p>"
[Staging]>> post.content = '_simple_'
=> "_simple_"
[Staging]>> post.save
=> true
[Staging]>> post.content
=> "<p><em>simple</em></p>"
[Staging]>> post.content = "This is *cool*"
=> "This is *cool*"
[Staging]>> post.content
=> "<p>This is <strong>cool</strong></p>"
[Staging]>> post.textiled = false
=> false
[Staging]>> post.content = "This is *cool*"
=> "This is *cool*"
[Staging]>> post.content
=> "This is *cool*"
[Staging]>> post.textiled = true
=> true
[Staging]>> post.content
=> "<p>This is <strong>cool</strong></p>"
每一个纺织代码都能正常工作,除了链接出错。为什么链接没有按照广告的格式格式化

=> "<p>the link is &#8220;linked&#8221;:<a href=\"http://www.cc.com\">http://www.cc.com</a></p>"
链接与链接本身一起保存??
有什么问题吗?

我在使用旧版本的acts\u as\u文本文件时也遇到了同样的问题。确保从git存储库克隆最新版本,该存储库可从

更新版本后,链接开始正常工作