主页内容自动识别链接

This commit is contained in:
cxt 2016-10-19 20:13:26 +08:00
parent 096bc145da
commit dde8be3f94
1 changed files with 8 additions and 2 deletions

View File

@ -46,9 +46,15 @@
<% end %>
<div class="cl"></div>
<div class="break_word" style="padding: 5px 5px 0 0">
<div class="break_word" style="padding: 5px 5px 0 0" id="intro_content">
<%=@article.content.html_safe %>
</div>
</div>
</div>
</div>
</div>
<script>
$(function(){
autoUrl('intro_content');
});
</script>