We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20d1840 commit c808576Copy full SHA for c808576
lib/jekyll-gist/gist_tag.rb
@@ -9,7 +9,7 @@ module Gist
9
class GistTag < Liquid::Tag
10
11
def render(context)
12
- @encoding = context.registers[:site].config['encoding']
+ @encoding = context.registers[:site].config['encoding'] || 'utf-8'
13
if tag_contents = determine_arguments(@markup.strip)
14
gist_id, filename = tag_contents[0], tag_contents[1]
15
if context.has_key?(gist_id)
0 commit comments