renderHtml property

String get renderHtml

Renders HTML encoded string to a plain text representation.

Implementation

String get renderHtml {
  return replaceAll(' ', ' ')
      .replaceAll(' ', ' ')
      .replaceAll(' ', ' ')
      .replaceAll('<br>', '\n')
      .replaceAll('<br/>', '\n')
      .replaceAll('&lt;', '<')
      .replaceAll('&gt;', '>');
}