solid-meta icon indicating copy to clipboard operation
solid-meta copied to clipboard

Combination of "$'" in <Meta> breaks server-rendering

Open indeyets opened this issue 1 year ago • 1 comments

This simple snippet <Meta name="keywords" content="$user$'s test" /> leads to broken SSR.

Here's Stackblitz with example: https://stackblitz.com/edit/github-iecjynj8?file=src%2Froutes%2Findex.tsx

Monosnap Solid-start With Tailwindcss Example - StackBlitz 2024-12-13 13-44-57

The issue might be somewhere in dom-expressions, but I'm not familiar with it enough to make reproduction case fast with it.

indeyets avatar Dec 13 '24 13:12 indeyets

I can work around this issue, by replacing single-quotes with corresponding html-entities. But that's hard a long-term solution

indeyets avatar Dec 13 '24 15:12 indeyets