|
|
|
@ -90,7 +90,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="homepagePostReplyDes">
|
|
|
|
|
<div class="homepagePostReplyPublisher"><a href="<%=user_path(reply.author)%>" class="newsBlue mr10 f14"><%= reply.author.name%></a><%= format_date(reply.created_at) %></div>
|
|
|
|
|
<div class="homepagePostReplyContent break_word" id="activity_description_<%= reply.id %>"><%= h reply.content.html_safe%></div>
|
|
|
|
|
<div class="homepagePostReplyContent break_word" id="activity_description_<%= reply.id %>"><%= h reply.content.html_safe %></div>
|
|
|
|
|
</div>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
$(function(){
|
|
|
|
@ -100,6 +100,8 @@
|
|
|
|
|
postContent= postContent.replace(/ {2}/g," ");
|
|
|
|
|
postContent=postContent.replace(/ /g," ");
|
|
|
|
|
postContent=postContent.replace(/ /g," ");
|
|
|
|
|
postContent = postContent.gsub(/<script>*/, "<script>");
|
|
|
|
|
postContent = postContent.gsub(/<html>*/, "<html>");
|
|
|
|
|
$(this).html(postContent);
|
|
|
|
|
});
|
|
|
|
|
autoUrl('activity_description_<%= reply.id %>');
|
|
|
|
|