Return quotes within an attribute's value.
String quoteAttribute(String text, [String quote = "\""]) { // escape and return return text.replaceAll(r"\", r"\\").replaceAll(quote, "\\$quote"); }