import {test, expect} from '../../fixtures/test' // Non-JavaScript script types are sometimes used to embed data: // - type="application/json" or type="application/ld+json" (structured data) // - type="text/template" (client-side templating) // These don't execute as JavaScript but can contain payloads that activate // if parsed. TinyMCE should strip all
Content after
', ) expect(content).not.toContain('Course description.
', ) expect(content).not.toContain('Template content below.
', ) expect(content).not.toContain('List above.
', ) expect(content).not.toContain('