add support for pre tags in dtext

This commit is contained in:
albert
2013-03-20 15:09:35 -07:00
parent 0c9a60040c
commit 05aaefdf48
4 changed files with 466 additions and 7 deletions

View File

@@ -83,7 +83,7 @@ module Danbooru
when :limit
limit = @paginator_options.try(:[], :limit) || Danbooru.config.posts_per_page
if limit.to_i > 1_000
limit = 1000
limit = 1_000
end
limit