Merge pull request #1402 from vernak2539/removing_frame_from_jsFiddle_iframe

Removing border from iframe in jsFiddle plugin
This commit is contained in:
Parker Moore 2013-11-17 19:07:55 -08:00
commit cf4bdae818

View File

@ -29,7 +29,7 @@ module Jekyll
def render(context)
if @fiddle
"<iframe style=\"width: #{@width}; height: #{@height}\" src=\"http://jsfiddle.net/#{@fiddle}/embedded/#{@sequence}/#{@skin}/\"></iframe>"
"<iframe style=\"width: #{@width}; height: #{@height}\" frameborder=\"0\" seamless=\"seamless\" src=\"http://jsfiddle.net/#{@fiddle}/embedded/#{@sequence}/#{@skin}/\"></iframe>"
else
"Error processing input, expected syntax: {% jsfiddle shorttag [tabs] [skin] [height] [width] %}"
end