diff --git a/plugins/octopress_filters.rb b/plugins/octopress_filters.rb index c07224f..40d6a97 100644 --- a/plugins/octopress_filters.rb +++ b/plugins/octopress_filters.rb @@ -79,7 +79,7 @@ module OctopressLiquidFilters def expand_urls(input, url='') url ||= '/' input.gsub /(\s+(href|src)\s*=\s*["|']{1})(\/[^\/\"'>]*)(["|']{1})/ do - $1 + expand_url($3, url) + $4 + $1 + $3 + $4 end end