| Index: pkg/intl/lib/bidi_formatter.dart
|
| diff --git a/pkg/intl/lib/bidi_formatter.dart b/pkg/intl/lib/bidi_formatter.dart
|
| index 048a9deb6d2915d974dc9da8c157973c8214ad39..0e5bee674fe9402fc742cb559a5bc5e3f68916f4 100644
|
| --- a/pkg/intl/lib/bidi_formatter.dart
|
| +++ b/pkg/intl/lib/bidi_formatter.dart
|
| @@ -82,6 +82,18 @@ class BidiFormatter {
|
| bool get isRTL => contextDirection == TextDirection.RTL;
|
|
|
| /**
|
| + * Escapes HTML-special characters of [text] so that the result can be
|
| + * included verbatim in HTML source code, either in an element body or in an
|
| + * attribute value.
|
| + *
|
| + * *htmlEscape* is deprecated. Use [HtmlEscape] from the `dart:convert`
|
| + * package. *htmlEscape* will be removed the 30th of September 2013.
|
| + */
|
| + // TODO(kevmoo) Remove this!
|
| + @deprecated
|
| + String htmlEscape(String text) => HTML_ESCAPE.convert(text);
|
| +
|
| + /**
|
| * Formats a string of a given (or estimated, if not provided)
|
| * [direction] for use in HTML output of the context directionality, so
|
| * an opposite-directionality string is neither garbled nor garbles what
|
|
|