docs(examples): mark page shell html boundaries

Document that remaining SafeHtml use in examples is limited to full-page shell composition of already-rendered hemplate fragments, while effect payloads use render helpers.

req: html_safety/002

req: view/001
This commit is contained in:
slhx agent
2026-05-26 01:34:05 +02:00
parent 5972785c3c
commit e20d356c1d
4 changed files with 6 additions and 1 deletions
+1
View File
@@ -185,6 +185,7 @@ fn all_examples() -> String {
}
fn shell(body: String) -> String {
// Explicit full-page shell composition boundary for already-rendered hemplate fragments.
// req: html_safety/002 req: view/001
render_template(&AppShell {
body: SafeHtml::trusted(body),