From 860b206b0a724615f1566169f5bef6b71012f9f9 Mon Sep 17 00:00:00 2001 From: Jaime Andres Date: Tue, 19 Apr 2011 00:33:54 -0500 Subject: [PATCH] fixed problem with pagination url, it was creating a relative path instead of an absolute path --- lib/locomotive/liquid/filters/html.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/locomotive/liquid/filters/html.rb b/lib/locomotive/liquid/filters/html.rb index 963cfd30..9cee216f 100644 --- a/lib/locomotive/liquid/filters/html.rb +++ b/lib/locomotive/liquid/filters/html.rb @@ -82,13 +82,13 @@ module Locomotive previous_link = (if paginate['previous'].blank? "#{previous_label}" else - "#{previous_label}" + "#{previous_label}" end) links = "" paginate['parts'].each do |part| links << (if part['is_link'] - "#{part['title']}" + "#{part['title']}" elsif part['hellip_break'] "#{part['title']}" else @@ -99,7 +99,7 @@ module Locomotive next_link = (if paginate['next'].blank? "#{next_label}" else - "#{next_label}" + "#{next_label}" end) %{