Skip to content

Commit

Permalink
Make it possible to disable the call to Rubypants
Browse files Browse the repository at this point in the history
  • Loading branch information
wallyqs committed Dec 2, 2014
1 parent 37749b2 commit f4b93ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/org-ruby/parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,9 @@ def to_html
end
output << "\n"

rp = RubyPants.new(output)
return output if @parser_options[:skip_rubypants_pass]

rp = RubyPants.new(output)
rp.to_html
end

Expand Down

0 comments on commit f4b93ff

Please sign in to comment.