bigskysoftware / htmx-extensions

167 stars 51 forks source link

websocket no oob swap occurs when sending full html file over websocket #62

Open a-alhusaini opened 4 months ago

a-alhusaini commented 4 months ago

If I send this through the websocket

<div id="someid">
  <h1>some heading</heading
  </div>

it swaps properly.

But when I send a full html page over websocket the swap doesn't work.

e.g: if I were to send this instead of the above.. no swap would occure

<DOCTYPE html>
<head stuff>
</head>
<body>
...

No swap occurs.