acceptance/ruby/support/extensions.rb
# Normalize input that is supposed to contain newlines, but just has literal "\" followed by "n"

Normalize input that is supposed to contain newlines, but just has literal "\" followed by "n"
Normalize input that is supposed to contain newlines but just has literal " \ " followed by " n "
def normalizeInput(s)
    if s == nil
      return ""
    else
      return s.gsub(/\\n/, "\n")
    end
  end
def normalizeInput ( s ) if s == nil return "" else return s . gsub ( / \\ n / , "\n" ) end end
Normalize input that is supposed to contain newlines, but just has literal "\" followed by "n"
Normalize input that is supposed to contain newlines but just has literal " \ " followed by " n "
s
<not_specific>