aboutsummaryrefslogtreecommitdiff
path: root/plugins/jsfiddle.rb
diff options
context:
space:
mode:
authorParker Moore <parkrmoore@gmail.com>2013-11-17 19:07:55 -0800
committerParker Moore <parkrmoore@gmail.com>2013-11-17 19:07:55 -0800
commitcf4bdae818c312f6846d587115faf850ab965456 (patch)
tree98457ffb4d84b138921f5f51ff900731980a7fe0 /plugins/jsfiddle.rb
parentabc9ef5113691ba19caf70b3e6d2984cc6b13fd9 (diff)
parent2f1229661970cace7367541609b3faf05c731045 (diff)
downloadmy_new_personal_website-cf4bdae818c312f6846d587115faf850ab965456.tar.xz
my_new_personal_website-cf4bdae818c312f6846d587115faf850ab965456.zip
Merge pull request #1402 from vernak2539/removing_frame_from_jsFiddle_iframe
Removing border from iframe in jsFiddle plugin
Diffstat (limited to 'plugins/jsfiddle.rb')
-rw-r--r--plugins/jsfiddle.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/jsfiddle.rb b/plugins/jsfiddle.rb
index 0046f9b5..815910e2 100644
--- a/plugins/jsfiddle.rb
+++ b/plugins/jsfiddle.rb
@@ -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