openpencil/tests/engine/render/jsx
Danila Poyarkov bb5f68880d
fix: escape string attributes in JSX export (#754)
Layer names and other string props were written into JSX attributes
verbatim. A `"` closed the attribute and let the rest of the name add
props or expression containers, which `render` and `replace` then
evaluate. Sucrase also decodes `&` entities in attribute strings, so
names containing entities changed on a round trip.

Strings containing `"` or `&` are now written as expression containers
holding a JavaScript string literal. Tailwind JSX export uses the same
helper for `data-name` and `className`.
2026-09-25 15:50:36 +04:00
..
component fix: reject ambiguous variant property names 2026-09-14 00:14:09 +03:00
builders.test.ts style: tighten import grouping 2026-05-06 02:22:08 +03:00
export.test.ts test: organize prefixed test files into folders 2026-05-06 02:13:18 +03:00
gaps.test.ts fix(core): preserve inline SVG primitives (#485) 2026-08-12 16:02:45 +03:00
grid-layout.test.ts style: tighten import grouping 2026-05-06 02:22:08 +03:00
instance-sizing.test.ts test: cover and document inherited instance dimensions 2026-09-14 00:24:52 +03:00
reference.test.ts docs: clarify scalar modes and instance sizing guidance 2026-09-13 20:54:27 +03:00
render-tree.test.ts test: share scene variable helper 2026-06-30 10:55:05 +03:00
scalar-variables.test.ts feat: bind Design JSX scalar props to variables 2026-09-13 19:06:20 +03:00
schema.test.ts feat(code): add live JSX and HTML/CSS editing (#525) 2026-08-15 09:48:42 +03:00
tailwind.test.ts fix: escape string attributes in JSX export (#754) 2026-09-25 15:50:36 +04:00
text-props.test.ts fix: escape string attributes in JSX export (#754) 2026-09-25 15:50:36 +04:00