... | ... |
@@ -84,10 +84,6 @@ module Jekyll |
84 | 84 |
source += "<pre><code>" + code.lstrip.rstrip.gsub(/</,'<') + "</code></pre></figure></div>" |
85 | 85 |
end |
86 | 86 |
source = source + context['pygments_suffix'] if context['pygments_suffix'] |
87 |
- partial = Liquid::Template.parse(source) |
|
88 |
- context.stack do |
|
89 |
- partial.render(context) |
|
90 |
- end |
|
91 | 87 |
end |
92 | 88 |
end |
93 | 89 |
end |
... | ... |
@@ -59,10 +59,6 @@ module Jekyll |
59 | 59 |
url = "#{context.registers[:site].config['url']}/#{code_dir}/#{@file}" |
60 | 60 |
source = "<div><figure role=code><figcaption><span>#{title}</span> <a href='#{url}'>download</a></figcaption>\n" |
61 | 61 |
source += " #{highlight(code, @filetype)}</figure></div>" |
62 |
- partial = Liquid::Template.parse(source) |
|
63 |
- context.stack do |
|
64 |
- partial.render(context) |
|
65 |
- end |
|
66 | 62 |
end |
67 | 63 |
end |
68 | 64 |
end |