diff --git a/packages/mermaid/src/diagrams/common/common.spec.ts b/packages/mermaid/src/diagrams/common/common.spec.ts
index 9af244406..3c7e0fdb8 100644
--- a/packages/mermaid/src/diagrams/common/common.spec.ts
+++ b/packages/mermaid/src/diagrams/common/common.spec.ts
@@ -28,7 +28,7 @@ describe('when securityLevel is antiscript, all script must be removed', () => {
it('should remove all javascript urls', () => {
compareRemoveScript(
`This is a clean link + clean link
- and me too`,
+ and me too`,
`This is a clean link + clean link
and me too`
);