# File lib/asciidoctor/substitutors.rb, line 1202 def normalize_string str, unescape_brackets = false unless str.empty? str = str.strip.tr LF, ' ' str = str.gsub ESC_R_SB, R_SB if unescape_brackets && (str.include? R_SB) end str end