blob: 9ff82621d2c9d587fd7d440b2d1e5a8f1e185790 [file]
import 'dart:convert';
/// Replaces `<`, `&`, and `>`, with their HTML entity equivalents.
@Deprecated('Use `const HtmlEscape(HtmlEscapeMode.ELEMENT).convert` from '
'`dart:convert` instead.')
String escapeHtml(String html) => escapeHtmlImpl(html);
String escapeHtmlImpl(String html) =>
const HtmlEscape(HtmlEscapeMode.ELEMENT).convert(html);