Added missing Ace sandbox in Ace::PygmentsFilter.
This commit is contained in:
parent
9f128f8fed
commit
e3941ba8e5
1 changed files with 12 additions and 10 deletions
|
@ -4,7 +4,8 @@ require "ace/filters"
|
|||
require "nokogiri"
|
||||
require "albino"
|
||||
|
||||
class PygmentsFilter < Filter
|
||||
module Ace
|
||||
class PygmentsFilter < Filter
|
||||
def call(item, content)
|
||||
puts 'PygmentsFilter ************************'
|
||||
doc = Nokogiri::HTML(content)
|
||||
|
@ -16,4 +17,5 @@ class PygmentsFilter < Filter
|
|||
end
|
||||
doc
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue