... | ... |
@@ -58,7 +58,7 @@ module OctopressFilters |
58 | 58 |
# Replaces relative urls with full urls |
59 | 59 |
def expand_urls(input, url='') |
60 | 60 |
url ||= '/' |
61 |
- input.gsub /(\s+(href|src)\s*=\s*["|']{1})(\/[^\"'>]+)/ do |
|
61 |
+ input.gsub /(\s+(href|src)\s*=\s*["|']{1})(\/[^\"'>]*)/ do |
|
62 | 62 |
$1+url+$3 |
63 | 63 |
end |
64 | 64 |
end |