# File lib/doc_book_printer.rb, line 91 def replace_html_tags text @html_tag_mapping.each do |html, docbook| if docbook.nil? text.gsub! "<#{html}>", "" else text.gsub! "<#{html}>", "<#{docbook}>" text.gsub! "</#{html}>", "</#{docbook}>" end end end