Skip to content

Commit

Permalink
fix: expected sanitized image tag
Browse files Browse the repository at this point in the history
  • Loading branch information
efaraz27 committed Mar 18, 2024
1 parent d09a0ff commit 8803bf7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ describe('HTML Sanitizer', function () {
},
]);

expect(result[0].content).to.equal('<img src="https://example.com/image.jpg" alt="Example Image">');
expect(result[0].content).to.equal('<img src="https://example.com/image.jpg" alt="Example Image" />');
});
});

0 comments on commit 8803bf7

Please sign in to comment.