Premailex.HTMLToPlainText (Premailex v0.3.11) 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
Specs
process(String.t() | Premailex.Util.html_tree()) :: String.t()
Processes HTML string into a plain text string.
Examples
iex> Premailex.HTMLToPlainText.process("<html><body><ul><li>Test</li></ul></body></html>")
"* Test"