package utils import "strings" func Escape(in string) string { output := strings.Replace(in, "&", "&", -1) output = strings.Replace(output, ">", ">", -1) output = strings.Replace(output, "<", "<", -1) output = strings.Replace(output, "\"", """, -1) output = strings.Replace(output, "'", "'", -1) return output }