diff --git a/plugins/octopress_filters.rb b/plugins/octopress_filters.rb index 67118b5..9c94f0e 100644 --- a/plugins/octopress_filters.rb +++ b/plugins/octopress_filters.rb @@ -58,7 +58,7 @@ module OctopressFilters # Replaces relative urls with full urls def expand_urls(input, url='') url ||= '/' - input.gsub /(\s+(href|src)\s*=\s*["|']{1})(\/[^\"'>]+)/ do + input.gsub /(\s+(href|src)\s*=\s*["|']{1})(\/[^\"'>]*)/ do $1+url+$3 end end