Permalink
Browse files

No need to escape double quotes

  • Loading branch information...
1 parent b8379d0 commit 29c77a9859d41c8f84aa2096deebb2f668cc821b @tj committed Oct 8, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/dm-pagination/pager.rb
@@ -63,7 +63,7 @@ def to_html uri, options = {}
@size = options.fetch :size, Pagination.defaults[:size]
raise ArgumentError, 'invalid :size; must be an odd number' if @size % 2 == 0
@size /= 2
- "<ul class=\"#{Pagination.defaults[:pager_class]}\">" + first_link + previous_link +
+ %(<ul class="#{Pagination.defaults[:pager_class]}">) + first_link + previous_link +
more(:before) + intermediate_links.join("\n") + more(:after) +
next_link + last_link + '</ul>'
end

0 comments on commit 29c77a9

Please sign in to comment.