View Source Premailex.HTMLToPlainText (Premailex v0.3.16)

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

Processes HTML string into a plain text string.

examples

Examples

iex> Premailex.HTMLToPlainText.process("<html><body><ul><li>Test</li></ul></body></html>")
"* Test"