diff --git a/package.json b/package.json
index 04b969e3..a78bb2bd 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 6a1f3b99..16ef5737 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 80d2505c..db72fdc4 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 220a9435..3572476f 100644
--- a/public/views/slide.ejs
+++ b/public/views/slide.ejs
@@ -102,7 +102,7 @@
-
+