require "date" require "nokogiri" require "pathname" require "open-uri" require "pp" require_relative "./cleanup_block.rb" require_relative "./cleanup_footnotes.rb" require_relative "./cleanup_ref.rb" module Asciidoctor module ISO module Cleanup def textcleanup(text) text.gsub(/\s+").gsub(/"/, '"'). gsub(/&/, "&").gsub(/<[^:\/]+:/, "<").gsub(/<\/[^:]+:/, "]+/, ""). gsub(//, '') x.children = math end end end end end