mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-02 15:25:26 +00:00
regression test for @ name support in attributes (Alpine.js issue)
This passes, but apparently there is an outstanding issue.
This commit is contained in:
parent
c3b1c63484
commit
7cc8f08377
@ -73,4 +73,12 @@ describe("Core htmx Regression Tests", function(){
|
||||
div.innerText.should.contain("Foo");
|
||||
});
|
||||
|
||||
it ('@ symbol in attributes does not break requests', function(){
|
||||
this.server.respondWith("GET", "/test", "<div id='d1' @foo='bar'>Foo</div>");
|
||||
var div = make('<div hx-get="/test">Get It</div>');
|
||||
div.click();
|
||||
this.server.respond();
|
||||
byId("d1").getAttribute('@foo').should.equal('bar');
|
||||
});
|
||||
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user