fix more examples
This commit is contained in:
1 parent
db35a9b48c
commit
407a82588a
59 files changed
+166
-195
No files matched your search
@@ -11,7 +11,7 @@ fn main() {
|
||||
fn app() -> Element {
|
||||
let mut contents = use_signal(|| String::from("<script>alert(\"hello world\")</script>"));
|
||||
|
||||
rsx! {
|
||||
render! {
|
||||
div {
|
||||
h1 {"Dioxus is XSS-Safe"}
|
||||
h3 { "{contents}" }
|
||||
|
||||
Reference in new issue
Block a user