阅读背景:

如何在常规Ruby代码(非rails)中使用strip_tags?

来源:互联网 

I need to turn HTML into plain text. There's a nice function that does that in ActionView's SanitizeHelper, but I have trouble understanding how I can reference it and use it in a simple test.rb file.I need to turn HTML into plain text. There's a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: