Commit c36734fb authored by 神楽坂玲奈's avatar 神楽坂玲奈

修正duelist第7期地址,更改bbcode解析插件 能转换换行符了

parent 1130a1e3
...@@ -6,6 +6,8 @@ gem 'will_paginate' ...@@ -6,6 +6,8 @@ gem 'will_paginate'
gem 'will-paginate-i18n' gem 'will-paginate-i18n'
gem "paperclip", "~> 3.0" gem "paperclip", "~> 3.0"
gem 'http_accept_language' gem 'http_accept_language'
gem 'bb-ruby'
# Bundle edge Rails instead: # Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git' # gem 'rails', :git => 'git://github.com/rails/rails.git'
......
...@@ -32,6 +32,7 @@ GEM ...@@ -32,6 +32,7 @@ GEM
i18n (~> 0.6) i18n (~> 0.6)
multi_json (~> 1.0) multi_json (~> 1.0)
arel (3.0.2) arel (3.0.2)
bb-ruby (0.9.5)
builder (3.0.0) builder (3.0.0)
cocaine (0.2.1) cocaine (0.2.1)
coffee-rails (3.2.2) coffee-rails (3.2.2)
...@@ -119,6 +120,7 @@ PLATFORMS ...@@ -119,6 +120,7 @@ PLATFORMS
DEPENDENCIES DEPENDENCIES
activerecord-import (>= 0.2.0) activerecord-import (>= 0.2.0)
bb-ruby
coffee-rails (~> 3.2.1) coffee-rails (~> 3.2.1)
http_accept_language http_accept_language
jquery-rails jquery-rails
......
This diff is collapsed.
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
<li><%= link_to "第五期", 'http://www.duelist.cn/vol.5/online/online-1.html', :class => "nav_sub" %></li> <li><%= link_to "第五期", 'http://www.duelist.cn/vol.5/online/online-1.html', :class => "nav_sub" %></li>
<li><%= link_to "SP1", 'http://www.duelist.cn/sp1/online/online-1.html', :class => "nav_sub" %></li> <li><%= link_to "SP1", 'http://www.duelist.cn/sp1/online/online-1.html', :class => "nav_sub" %></li>
<li><%= link_to "第六期", 'http://www.duelist.cn/vol.6/online/index.html', :class => "nav_sub" %></li> <li><%= link_to "第六期", 'http://www.duelist.cn/vol.6/online/index.html', :class => "nav_sub" %></li>
<li><%= link_to "第七期", 'http://www.duelist.cn/vol.6/online/index.html', :class => "nav_sub" %></li> <li><%= link_to "第七期", 'http://www.duelist.cn/vol.7/', :class => "nav_sub" %></li>
</ul> </ul>
</li> </li>
</ul> </ul>
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</div>--> </div>-->
<div class="t_msgfontfix"> <div class="t_msgfontfix">
<table cellspacing="0" cellpadding="0"><tbody><tr><td class="t_msgfont" id="postmessage_751931"><%= bbcodeize post.content %> </td></tr></tbody></table> <table cellspacing="0" cellpadding="0"><tbody><tr><td class="t_msgfont" id="postmessage_751931"><%= post.content.bbcode_to_html.html_safe %> </td></tr></tbody></table>
</div> </div>
<div id="post_rate_div_751931"></div> <div id="post_rate_div_751931"></div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment