Premailex v0.2.2 Premailex.HTMLToPlainText View Source
Module that converts HTML emails to plain text.
Link to this section Summary
Functions
Processes HTML string into a plain text string
Link to this section Functions
Link to this function
process(html)
View Source
process(String.t() | Premailex.Util.html_tree()) :: String.t()
Processes HTML string into a plain text string.
Examples
iex> Premailex.HTMLToPlainText.process("<ul><li>Test</li></ul>")
"* Test"