Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Unified Diff: pkg/intl/lib/bidi_formatter.dart

Issue 23464039: Added deprecation notice to BidiFormatter.htmlEscape (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/intl/lib/bidi_formatter.dart
diff --git a/pkg/intl/lib/bidi_formatter.dart b/pkg/intl/lib/bidi_formatter.dart
index 6ae39829e4154e7224ee76f6c7c79ff4b77a5045..0e5bee674fe9402fc742cb559a5bc5e3f68916f4 100644
--- a/pkg/intl/lib/bidi_formatter.dart
+++ b/pkg/intl/lib/bidi_formatter.dart
@@ -85,7 +85,11 @@ class BidiFormatter {
* 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);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698