TootHTML

public struct TootHTML

Formatter for HTML content

  • Remove all HTML tags, quick and dirty.

    Declaration

    Swift

    public static func extractAsPlainText(html: String?) -> String?

    Parameters

    html

    a string of html content

    Return Value

    the processed string, free of HTML tags