Skip to content

Commit

Permalink
Added poster="" to list of things expand urls should work on. #1707
Browse files Browse the repository at this point in the history
  • Loading branch information
imathis committed Jan 11, 2015
1 parent 1708b99 commit 3a2a5d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/octopress_filters.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def cdata_escape(input)
# Replaces relative urls with full urls
def expand_urls(input, url='')
url ||= '/'
input.gsub /(\s+(href|src)\s*=\s*["|']{1})(\/[^\/>]{1}[^\"'>]*)/ do
input.gsub /(\s+(href|src|poster)\s*=\s*["|']{1})(\/[^\/>]{1}[^\"'>]*)/ do
$1+url+$3
end
end
Expand Down

0 comments on commit 3a2a5d9

Please sign in to comment.