Update to use gsub and not nokogiri, also adds indentation