Class HtmlEscaper
java.lang.Object
dev.jcputney.mjml.util.HtmlEscaper
Utility to escape HTML special characters in attribute values. Used when
sanitizeOutput
is enabled in configuration.-
Method Summary
Modifier and TypeMethodDescriptionstatic StringescapeAttributeValue(String value) Escapes HTML special characters in an attribute value:&,",',<,>.
-
Method Details
-
escapeAttributeValue
-