Attrition v0.1.0 Attrition.Reveal View Source

Attrition.Reveal returns the "real" versions of data functions, revealing the passed value contents to your markup.

This module is for configured environments only.

Link to this section Summary

Functions

Returns :safe HTML string that has interior quotes of interpolated string escaped with prepended whitespace padding.

Returns :safe HTML string that has interior quotes of interpolated string escaped with prepended whitespace padding.

Link to this section Types

Specs

safe_string() :: {:safe, String.t()}

Link to this section Functions

Specs

data_qa(String.t()) :: safe_string()

Returns :safe HTML string that has interior quotes of interpolated string escaped with prepended whitespace padding.

Specs

data_test(String.t()) :: safe_string()

Returns :safe HTML string that has interior quotes of interpolated string escaped with prepended whitespace padding.