21
21
s.to_s.gsub(/&/, "&").gsub(/\"/, """).gsub(/>/, ">").gsub(/</, "<")
25
25
# If +value+ is an instance of class +klass+, return it, else
26
26
# create a new instance of +klass+ with value +value+.
27
27
def new_with_value_if_need(klass, value)