Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

dart remove html tags

import 'package:html/parser.dart';


//here goes the function 
String _parseHtmlString(String htmlString) {
final document = parse(htmlString);
final String parsedString = parse(document.body.text).documentElement.text;

return parsedString;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #dart #remove #html #tags
ADD COMMENT
Topic
Name
3+7 =