Using https protocol instead of http.
This commit is contained in:
parent
cdd3c0ef0c
commit
f8a90d711f
|
@ -11,7 +11,7 @@ module Jekyll
|
|||
end
|
||||
|
||||
def render(context)
|
||||
"<script src=\"http://gist.github.com/#{@gist}.js\"> </script>"
|
||||
"<script src=\"https://gist.github.com/#{@gist}.js\"> </script>"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -218,7 +218,7 @@ CONTENT
|
|||
end
|
||||
|
||||
should "write script tag" do
|
||||
assert_match %r{<script src='http://gist.github.com/#{@gist}.js'>\s</script>}, @result
|
||||
assert_match %r{<script src='https://gist.github.com/#{@gist}.js'>\s</script>}, @result
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue