This code will output the elements and attributes that are removed by Sanitize.
module NodeExtensions def unlink puts self.to_html super end end module Nokogiri module XML class Node prepend NodeExtensions end end end # do your sanitize stuff here
There was an error while loading. Please reload this page.