# File lib/asciidoctor/backends/base_template.rb, line 67
  def compact(str)
    str.gsub(BLANK_LINE_PATTERN, '').gsub(LINE_FEED_ENTITY, "\n")
  end