html_unescape 1.0.1+1 copy "html_unescape: ^1.0.1+1" to clipboard
html_unescape: ^1.0.1+1 copied to clipboard

outdated

A small library for un-escaping HTML. Supports all Named Character References, Decimal Character References and Hexadecimal Character References.

example/example.dart

// Copyright (c) 2018, 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>"));
}
152
likes
0
pub points
99%
popularity

Publisher

verified publisherfiliph.net

A small library for un-escaping HTML. Supports all Named Character References, Decimal Character References and Hexadecimal Character References.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on html_unescape