Open r-k-b opened 1 year ago
I think the cause is here: https://github.com/elm-explorations/test/blob/2.1.1/src/Test/Html/Internal/ElmHtml/ToString.elm#L125
Should be something like |> List.map (\( k, v ) -> k ++ "=\"" ++ String.replace "\"" """ v ++ "\"")
instead.
Not sure how to verify that tho, it's unclear how to use a local fork of elm-explorations/test.
When:
Html.Attributes.attribute "contains-double-quote" "\""
elm-program-test shows an error like:
Here's a commit demonstrating that in the test cases: https://github.com/avh4/elm-program-test/commit/b67267b92110420b918acdfd20742ba7d5cdbf74