File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
packages/svelte/src/internal Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " svelte " : patch
3+ ---
4+
5+ fix: use nginx SSI-compatible comments for ` $props.id() `
Original file line number Diff line number Diff line change @@ -365,7 +365,7 @@ export function props_id() {
365365 hydrating &&
366366 hydrate_node &&
367367 hydrate_node . nodeType === COMMENT_NODE &&
368- hydrate_node . textContent ?. startsWith ( `# ` )
368+ hydrate_node . textContent ?. startsWith ( `$ ` )
369369 ) {
370370 const id = hydrate_node . textContent . substring ( 1 ) ;
371371 hydrate_next ( ) ;
Original file line number Diff line number Diff line change @@ -448,7 +448,7 @@ export function once(get_value) {
448448 */
449449export function props_id ( renderer ) {
450450 const uid = renderer . global . uid ( ) ;
451- renderer . push ( '<!--# ' + uid + '-->' ) ;
451+ renderer . push ( '<!--$ ' + uid + '-->' ) ;
452452 return uid ;
453453}
454454
You can’t perform that action at this time.
0 commit comments