astonishing-kilobyte-60820
07/27/2022, 12:14 PMhx-swap-oob . I have this
html
<tr><td><button hx-post="/" hx-target="closest tr" hx-swap="outerHTML"></button></td></tr>
<!-- my response -->
<tr>.....</tr>
That works fine. But when my response is this, the weirdest thing happens.
html
<div id="messages" hx-swap-oob="true">....</div>
<tr>....</tr>
When I do that, the message works but all the html tags get stripped out of my <tr> so instead I just get whatever text was in the tr but all tr tags and td tags are left out of the response. Any ideas?