diff --git a/docs/leaf/overview.md b/docs/leaf/overview.md index 5b912dac..4f4b1b57 100644 --- a/docs/leaf/overview.md +++ b/docs/leaf/overview.md @@ -272,5 +272,15 @@ The `#unsafeHTML` tag acts like a variable tag - e.g. `#(variable)`. However it The time is #unsafeHTML(styledTitle) ``` -!!! note +!!! note You should be careful when using this tag to ensure that the variable you provide it does not expose your users to an XSS attack. + +#### `#dumpContext` + +The `#dumpContext` tag renders the whole context to a human readable string. Use this tag to debug what is being +provided as context to the current rendering. + +```leaf +Hello, world! +#dumpContext +``` \ No newline at end of file