# File lib/asciidoctor/abstract_node.rb, line 511
  def uri_encode_spaces str
    (str.include? ' ') ? (str.gsub ' ', '%20') : str
  end