diff --git a/craft/src/utils/html-export.test.ts b/craft/src/utils/html-export.test.ts index d61bba0..aee43a8 100644 --- a/craft/src/utils/html-export.test.ts +++ b/craft/src/utils/html-export.test.ts @@ -787,3 +787,94 @@ describe('#54: canonical link in
', () => { expect(buildSeoMeta({ canonicalUrl: '/relative' }, 'P')).not.toContain('canonical'); }); }); + +/** + * Finding 6: relay forms (ContactForm / SubscribeForm / FormContainer with a + * recipient) start their toHtml with a `` marker comment. + * injectAttrs used to insert responsive/visibility/animation attrs before the + * FIRST `>` -- the end of that comment -- which broke the marker + * (`thankyou=""-- data-wsb-r="...">`), swallowed the