# File pkg/t2-web-0.0.3/bin/web_t2_service.rb, line 34 def html_sanitise(string) # escape double quotes characters ex = string.gsub('"', '"') # convert newlines to HTML newlines to display in textareas inputs ex = ex.gsub(/[\n]/, '
') end