stripHtmlComments method
Removes HTML comments () from this string.
Implementation
@useResult
String stripHtmlComments() => replaceAll(RegExp(r'<!--[\s\S]*?-->'), '');
Removes HTML comments () from this string.
@useResult
String stripHtmlComments() => replaceAll(RegExp(r'<!--[\s\S]*?-->'), '');