Skip to content

Commit

Permalink
Merge pull request #10 from bwillis/fix-bug
Browse files Browse the repository at this point in the history
Fixes #8
  • Loading branch information
bwillis authored Oct 30, 2017
2 parents 33dba49 + 09b72a9 commit 3e35209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jekyll_github_sample/code_tag.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def render(context)
if @line_start.respond_to?(:match) and tag_match = @line_start.match(/^tag:(.*)/)
lines = extract_tagged_lines(all_lines, tag_match[1])
else
@line_start, @line_ends = determine_line_numbers(@line_start, @line_end)
@line_start, @line_end = determine_line_numbers(@line_start, @line_end)
lines = all_lines[@line_start..@line_end]
end
lines = remove_common_indentation(lines)
Expand Down

0 comments on commit 3e35209

Please sign in to comment.