开发者

Parsing Line Breaks in Mash Linkedin Gem

The output from my mash has \n\n included but when I extract the data, none of the line breaks are parsed.

This is wha开发者_如何学Got I'm using:

<%= @user.linkedin_token.callback.summary %>

How can I get the line breaks included?

Thanks


Sorted by using simple_format. that was easy!

<p><%= simple_format @user.linkedin_token.callback.summary %></p>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜