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

Side by Side Diff: third_party/pkg/markdown/lib/src/util.dart

Issue 189333002: pkg/docgen: update markdown to 0.5.1 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: updates Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 library markdown.util;
2
3 /// Replaces `<`, `&`, and `>`, with their HTML entity equivalents.
4 String escapeHtml(String html) {
5 return html.replaceAll('&', '&amp;')
6 .replaceAll('<', '&lt;')
7 .replaceAll('>', '&gt;');
8 }
OLDNEW
« no previous file with comments | « third_party/pkg/markdown/lib/src/markdown/inline_parser.dart ('k') | third_party/pkg/markdown/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698