lib/wunderbar/coderay.rb in wunderbar-1.3.4 vs lib/wunderbar/coderay.rb in wunderbar-1.4.0
- old
+ new
@@ -1,17 +1,8 @@
require 'wunderbar'
require 'coderay'
require 'nokogiri'
-# workaround for https://github.com/rubychan/coderay/pull/159
-module CodeRay::PluginHost
- alias_method :old_plugin_path, :plugin_path
- def plugin_path *args
- args.first.untaint if args.first == CodeRay::CODERAY_PATH
- old_plugin_path(*args)
- end
-end
-
module Wunderbar
class HtmlMarkup
def _coderay(*args)
# allow arguments in any order, disambiguate based on type