Skip to content

@marko/runtime-tags@6.3.2

Latest

Choose a tag to compare

Patch Changes

  • #3364 3327f22 Thanks @DylanPiercey! - Fix <script> content escaping only handling </script. A body containing <!-- followed by <script put the HTML tokenizer in the script-data double-escaped state, where the real </script> no longer closes the element and the rest of the page is swallowed into it. <script and <!-- now receive the same \x3C escape, and the escaped remainder preserves its original case.

  • #3371 b41967c Thanks @DylanPiercey! - Fix static --> inside <html-comment> being written unescaped: SSR markup closed the comment early (leaking the rest as visible text) and the client template parsed into extra nodes, crashing hydration walks. Static comment text now gets _escape_comment's transform at compile time in both output targets.

  • #3375 d7e5ad1 Thanks @DylanPiercey! - Report a compile error when an <option> nested within a <select> that has a value attribute is missing its own value attribute or uses selected. The select's value only matches options by their value attributes, so these silently rendered with no selection applied.

  • #3363 f520a70 Thanks @DylanPiercey! - Fix an SSR crash (TypeError: Cannot read properties of null (reading 'id')) when a long string first serialized as a promise/stream/async-generator settled value was reused in a later flush. Such strings now claim their dedup binding eagerly, matching how object values on that path already behave.

  • #3361 a8cfae7 Thanks @DylanPiercey! - Fix a partially-consumed sync generator resuming as an async generator, which broke client-side for..of/spread over the resumed value (no Symbol.iterator).