escapeHtmlAttribute function

String escapeHtmlAttribute(
  1. String text
)

Escapes ("), (<) and (>) characters.

Implementation

String escapeHtmlAttribute(String text) =>
    const HtmlEscape(HtmlEscapeMode.attribute).convert(text);