Sha256: a03fb18451c25880c686e6d5a670b27ad5c24e7ff594edc4dad73b025de68b41
Contents?: true
Size: 264 Bytes
Versions: 38
Compression:
Stored size: 264 Bytes
Contents
# encoding: utf-8 class Sanitize; module Transformers CleanCDATA = lambda do |env| node = env[:node] if node.type == Nokogiri::XML::Node::CDATA_SECTION_NODE node.replace(Nokogiri::XML::Text.new(node.text, node.document)) end end end; end
Version data entries
38 entries across 38 versions & 2 rubygems