Skip to content

Commit

Permalink
Merge pull request #117 from devm33/fix-whitespace-error-on-autosize
Browse files Browse the repository at this point in the history
remove unnecessary strip
  • Loading branch information
ixti committed Dec 8, 2014
2 parents e735293 + d194a2e commit 58d8b0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jekyll/assets_plugin/renderer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def autosize!
width, height = FastImage.size(site.assets[path].pathname)
end

@attrs = %(#{@attrs} width="#{width}" height="#{height}").strip
@attrs = %(#{@attrs} width="#{width}" height="#{height}")
end

def autosize?
Expand Down

0 comments on commit 58d8b0c

Please sign in to comment.