aboutsummaryrefslogtreecommitdiff
path: root/plugins/jsfiddle.rb
diff options
context:
space:
mode:
authorAlex Vernacchia <avernacchia@exacttarget.com>2013-10-28 14:07:37 -0400
committerAlex Vernacchia <avernacchia@exacttarget.com>2013-10-28 14:07:37 -0400
commit2f1229661970cace7367541609b3faf05c731045 (patch)
tree170cfeab4fa878f22419f4449dfa4ec001a17ec2 /plugins/jsfiddle.rb
parent74d7238934010e2bc5d36536c0a99255a85ca079 (diff)
downloadmy_new_personal_website-2f1229661970cace7367541609b3faf05c731045.tar.xz
my_new_personal_website-2f1229661970cace7367541609b3faf05c731045.zip
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