From 70646e06f081b0e28766cc349fb7f75db56dd4e5 Mon Sep 17 00:00:00 2001 From: Baptiste Leproux Date: Wed, 18 Nov 2026 09:32:36 +0000 Subject: [PATCH] fix(render): keep binding props in markdown/html Amp-Thread-ID: https://ampcode.com/threads/T-01a1eb86-b0f8-733a-8097-bd526cee3536 --- .../SPEC/COMARK/component-block-props-types.md | 2 +- .../COMARK/component-nested-multiline-separated.md | 2 +- packages/comark/SPEC/COMARK/component-nested4.md | 6 +++--- .../SPEC/COMARK/component-props-boolean-inline.md | 2 +- .../SPEC/COMARK/component-props-boolean-yaml.md | 2 +- packages/comark/SPEC/COMARK/component-yaml-props.md | 2 +- .../comark/SPEC/COMARK/data-binding-frontmatter.md | 2 +- packages/comark/SPEC/COMARK/data-binding-inline.md | 2 +- packages/comark/SPEC/COMARK/data-binding-props.md | 2 +- .../comark/SPEC/COMARK/data-binding-unresolved.md | 2 +- .../SPEC/COMARK/inline-component-props-boolean.md | 2 +- .../comark/src/internal/stringify/handlers/html.ts | 2 +- .../src/internal/stringify/html-attributes.ts | 13 ++++++++++--- packages/comark/test/render-markdown-html.test.ts | 13 +++++++++++++ test/bundle.test.ts | 2 +- 15 files changed, 38 insertions(+), 18 deletions(-) diff --git a/packages/comark/SPEC/COMARK/component-block-props-types.md b/packages/comark/SPEC/COMARK/component-block-props-types.md index cdd85888..3a418252 100644 --- a/packages/comark/SPEC/COMARK/component-block-props-types.md +++ b/packages/comark/SPEC/COMARK/component-block-props-types.md @@ -78,7 +78,7 @@ Component content ## Markdown HTML ```md -