我正在使用“Feedzirra”来编写一个简单的阅读器。在视图中将字符串解析为 html 时,我使用如下内容:
<%= entry.summary.html_safe %>
文字显示,但图像似乎丢失。有人有想法吗?谢谢。这是“entry.summary”的内容:
"“We gotta post this one!” -MF All ye need do is ask, Cute Overlord, and eet shall be done. Posted on YT by Frisco68, who added “The weasel war dance is a colloquial term for a behavior of excited ferrets and weasels. In wild animals, it is speculated that this dance is used to confuse [...]<img alt=\"\" border=\"0\" src=\"http://stats.wordpress.com/b.gif host=cuteoverload.com&blog=41949&post=100838&subd=cuteoverload&ref=&feed=1\" width=\"1\" height=\"1\" />"