antikythera v0.2.0 Antikythera.TemplateSanitizer View Source

Link to this section Summary

Functions

Converts special characters in the given string to character entity references

Marks data as HTML safe to avoid double-escaping

Link to this section Types

Link to this type safe() View Source
safe() :: {:safe, String.t()}

Link to this section Functions

Link to this function html_escape(str) View Source
html_escape(String.t()) :: String.t()

Converts special characters in the given string to character entity references.

Marks data as HTML safe to avoid double-escaping.