html_unescape 0.1.4 copy "html_unescape: ^0.1.4" to clipboard
html_unescape: ^0.1.4 copied to clipboard

outdatedDart 1 only

A small library for un-escaping HTML.

example/example.dart

// Copyright (c) 2016, Filip Hracek. All rights reserved. Use of this source
// code is governed by a BSD-style license that can be found in the LICENSE
// file.

import 'package:html_unescape/html_unescape.dart';

void main() {
  var unescape = new HtmlUnescape();
  print(unescape.convert("<strong>This "escaped" string "
      "will be printed normally.</strong>"));
}