Home
Sign Up
Sign In
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member
Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
V2EX
›
程序员
http://knewone.com/未过滤html标签。。。
dqaria
·
dqaria
·
Mar 12, 2013
· 4352 views
This topic created in 4804 days ago, the information mentioned may be changed or developed.
http://knewone.com/things/lg-hbs-730lan-ya-er-ji-2/reviews/513ed3027373c26124000009
正好做网站。。要加入富文本编辑模块。。。选用了和knewone一样的编辑器~
然后正好测试了下knewone,果然用的raw呈现html。。。然后没有过滤html标签。。。。
google了一圈~找到了一个gem:sanitize~~应该挺有用的~~
@
xiaolai
https://github.com/rgrove/sanitize/
knewone
HTML
正好
1 replies
•
1970-01-01 08:00:00 +08:00
1
dqaria
OP
Mar 12, 2013
http://api.rubyonrails.org/classes/ActionView/Helpers/SanitizeHelper.html#method-i-sanitize
这边有文档~~rails果然强大~各种好用的功能都准备好了~~
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
4021 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 27ms ·
UTC 04:24
·
PVG 12:24
·
LAX 21:24
·
JFK 00:24
♥ Do have faith in what you're doing.
❯