When htmx loads content that includes SVG content including a <title>, it updates the containing HTML document's <title>.
This was introduced in 0f72543, where it selects the first available title tag regardless of context.
My initial thought was to add hx-preserve to the HTML <title>, which doesn't seem to work, but it might be a reasonable fix.
When htmx loads content that includes SVG content including a
<title>, it updates the containing HTML document's<title>.This was introduced in 0f72543, where it selects the first available title tag regardless of context.
My initial thought was to add
hx-preserveto the HTML<title>, which doesn't seem to work, but it might be a reasonable fix.