From 366588cea13d29de05039bbc6184d76a43148d44 Mon Sep 17 00:00:00 2001 From: Larry Price <larry.price.dev@gmail.com> Date: Mon, 6 Apr 2015 21:47:39 -0400 Subject: [PATCH] change fiddle src to use whatever protocol is being used --- plugins/jsfiddle.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/jsfiddle.rb b/plugins/jsfiddle.rb index 815910e24d5..69f90862408 100644 --- a/plugins/jsfiddle.rb +++ b/plugins/jsfiddle.rb @@ -29,7 +29,7 @@ def initialize(tag_name, markup, tokens) def render(context) if @fiddle - "<iframe style=\"width: #{@width}; height: #{@height}\" frameborder=\"0\" seamless=\"seamless\" src=\"http://jsfiddle.net/#{@fiddle}/embedded/#{@sequence}/#{@skin}/\"></iframe>" + "<iframe style=\"width: #{@width}; height: #{@height}\" frameborder=\"0\" seamless=\"seamless\" src=\"//jsfiddle.net/#{@fiddle}/embedded/#{@sequence}/#{@skin}/\"></iframe>" else "Error processing input, expected syntax: {% jsfiddle shorttag [tabs] [skin] [height] [width] %}" end