summaryrefslogtreecommitdiff
path: root/packages/astro/test/content-layer.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/astro/test/content-layer.test.js')
-rw-r--r--packages/astro/test/content-layer.test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/astro/test/content-layer.test.js b/packages/astro/test/content-layer.test.js
index 2ae372137..268f03dc7 100644
--- a/packages/astro/test/content-layer.test.js
+++ b/packages/astro/test/content-layer.test.js
@@ -253,9 +253,9 @@ describe('Content Layer', () => {
});
it('escapes alt text in markdown', async () => {
- assert.equal($('img[alt^="xss"]').attr('alt'), 'xss "><script>alert(1)</script>');
+ assert.equal($('img[alt^="xss"]').attr('alt'), 'xss "><script>alert(1)</script>');
});
-
+
it('returns a referenced entry', async () => {
assert.ok(json.hasOwnProperty('referencedEntry'));
assert.deepEqual(json.referencedEntry, {