From 8f2a1cfe399e0a8647b0f11c3ca34e27873d496e Mon Sep 17 00:00:00 2001 From: Jakob Demler Date: Sat, 1 Sep 2018 22:01:03 +0200 Subject: [PATCH] document breaking change in Html.node function --- src/Html.elm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Html.elm b/src/Html.elm index 70b8645..173880e 100644 --- a/src/Html.elm +++ b/src/Html.elm @@ -118,6 +118,8 @@ functions in this library. You can use this to create custom nodes if you need to create something that is not covered by the helper functions in this library. + +`script` nodes are transformed to `p` nodes as they are a possible XSS attack vector. -} node : String -> List (Attribute msg) -> List (Html msg) -> Html msg node =