Class MjRaw


public class MjRaw extends BodyComponent
The raw component (<mj-raw>). Passes through raw HTML content without any wrapping or transformation.

Security note: mj-raw passes arbitrary HTML directly into the rendered output, including when position="file-start" is used to inject content before the DOCTYPE. This makes it an XSS vector when processing untrusted MJML input. Configure a ContentSanitizer to sanitize the inner HTML before it reaches the final output when handling user-supplied MJML.