diff --git a/plugins/octopress_filters.rb b/plugins/octopress_filters.rb index c07224fb9aeeccf2cec9b1651cbc530ea83d4990..40d6a975590852c88ead4fd92a3b3a880929737a 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