snoyberg / markdown

Convert Markdown to HTML, with XSS protection
BSD 3-Clause "New" or "Revised" License
69 stars 401 forks source link

testsuite failing for Stackage Nightly #39

Closed juhp closed 3 years ago

juhp commented 3 years ago

I am not sure why but the testsuite has started to fail for Stackage Nightly:

    Failures:                                                                                                                      

      test/main.hs:230:26:                                                                                                         
      1) html block xss                                                                                                            
           expected: "alert("evil")"                                                                                     
            but got: ""                                                                                                            

      To rerun use: --match "/html/block xss/"                                                                                     

    Randomized with seed 1052063679                                                                                                

    Finished in 0.0591 seconds                                                                                                     
    151 examples, 1 failure                                                                                                        
snoyberg commented 3 years ago

See https://github.com/yesodweb/haskell-xss-sanitize/issues/24 for a similar issue. I'll release a new version of Markdown.