Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML runner doesn't safely escape markup in Suite titles #486

Closed
anacronw opened this issue Jul 2, 2012 · 0 comments
Closed

HTML runner doesn't safely escape markup in Suite titles #486

anacronw opened this issue Jul 2, 2012 · 0 comments

Comments

@anacronw
Copy link

anacronw commented Jul 2, 2012

If I write the following test for example (using jQuery and Chai):

describe("when <script> is used in the Suite title", function(){
    it("should still cause the DOM to be parseable", function(){
        $('#mocha').clone.should.not.throw.error(Error);
    });
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants