fix markup on framed absolute image urls

This commit is contained in:
rick
2010-08-16 15:49:47 -07:00
parent c7e172f5ca
commit dd30a7bdc2
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -200,7 +200,7 @@ module Gollum
classes << 'frame' if opts['frame']
%{<span class="#{classes.join(' ')}">} +
%{<span>} +
%{<img src="/#{file.path}" #{attr_string}/>} +
%{<img src="#{path}" #{attr_string}/>} +
(alt ? %{<span>#{alt}</span>} : '') +
%{</span>} +
%{</span>}