Sablon.Content.HTML (sablon v0.4.3)

Copy Markdown View Source

HTML insertion.

The markup is converted to WordProcessingML by Sablon.HTMLConverter and then inserted exactly like Sablon.Content.WordML content, so inline HTML replaces only the merge field while block level HTML replaces the whole paragraph.

Summary

Functions

Builds HTML content from a markup string.

Types

t()

@type t() :: %Sablon.Content.HTML{html_content: binary()}

Functions

new(value)

@spec new(binary()) :: t()

Builds HTML content from a markup string.