Removed accidental call to expand_url

This commit is contained in:
Brandon Mathis 2014-02-24 15:30:20 -06:00
parent 028769b73f
commit 1321423383

View File

@ -79,7 +79,7 @@ module OctopressLiquidFilters
def expand_urls(input, url='') def expand_urls(input, url='')
url ||= '/' url ||= '/'
input.gsub /(\s+(href|src)\s*=\s*["|']{1})(\/[^\/\"'>]*)(["|']{1})/ do input.gsub /(\s+(href|src)\s*=\s*["|']{1})(\/[^\/\"'>]*)(["|']{1})/ do
$1 + expand_url($3, url) + $4 $1 + $3 + $4
end end
end end