From 3a2a5d9bf902e5b0345e973336414a07cb2b8a3e Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Sun, 11 Jan 2015 15:15:53 -0600 Subject: [PATCH] Added poster="" to list of things expand urls should work on. #1707 --- plugins/octopress_filters.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/octopress_filters.rb b/plugins/octopress_filters.rb index 9c7fa6c..48413a8 100644 --- a/plugins/octopress_filters.rb +++ b/plugins/octopress_filters.rb @@ -85,7 +85,7 @@ module OctopressLiquidFilters # 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