mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-09-28 13:31:06 +00:00
regression for https://github.com/bigskysoftware/htmx/issues/101
This commit is contained in:
parent
504bd34ee4
commit
efd3ab85f0
@ -49,4 +49,12 @@ describe("Core htmx Regression Tests", function(){
|
||||
form.innerHTML.should.equal("variable=")
|
||||
});
|
||||
|
||||
it ('name=id doesnt cause an error, function()', function(){
|
||||
this.server.respondWith("GET", "/test", "Foo<form><input name=\"id\"/></form>")
|
||||
var div = make('<div hx-get="/test">Get It</div>')
|
||||
div.click();
|
||||
this.server.respond();
|
||||
div.innerText.should.equal("Foo")
|
||||
});
|
||||
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user