diff --git a/package.json b/package.json
index 04b969e3e..a78bb2bd2 100644
--- a/package.json
+++ b/package.json
@@ -75,7 +75,7 @@
"markdown-it-sup": "^1.0.0",
"markdown-pdf": "^7.0.0",
"mathjax": "~2.7.0",
- "mermaid": "~7.0.0",
+ "mermaid": "~7.1.0",
"meta-marked": "^0.4.2",
"method-override": "^2.3.7",
"moment": "^2.17.1",
diff --git a/public/views/hackmd/foot.ejs b/public/views/hackmd/foot.ejs
index 6a1f3b99c..16ef57378 100644
--- a/public/views/hackmd/foot.ejs
+++ b/public/views/hackmd/foot.ejs
@@ -11,7 +11,7 @@
-
+
diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs
index 80d2505cb..db72fdc42 100644
--- a/public/views/pretty.ejs
+++ b/public/views/pretty.ejs
@@ -84,7 +84,7 @@
-
+
diff --git a/public/views/slide.ejs b/public/views/slide.ejs
index 220a94356..3572476fa 100644
--- a/public/views/slide.ejs
+++ b/public/views/slide.ejs
@@ -102,7 +102,7 @@
-
+