html_unescape 2.0.0 html_unescape: ^2.0.0 copied to clipboard
A small library for un-escaping HTML. Supports all Named Character References, Decimal Character References and Hexadecimal Character References.
// 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 = HtmlUnescape();
print(unescape.convert('<strong>This "escaped" string '
'will be printed normally.</strong>'));
}