| library markdown.util; | |
| import 'ast.dart'; | |
| /// Replaces `<`, `&`, and `>`, with their HTML entity equivalents. | |
| String escapeHtml(String html) { | |
| return html.replaceAll('&', '&') | |
| .replaceAll('<', '<') | |
| .replaceAll('>', '>'); | |
| } | |
| typedef Node Resolver(String name); |