From 1e90eb1264a166f99241a71bc3b807e15b34d676 Mon Sep 17 00:00:00 2001 From: ycjcl868 <45808948@qq.com> Date: Fri, 20 Sep 2019 17:05:13 +0800 Subject: [PATCH] fix: site specialChar encoding --- site/theme/template/Content/Article.jsx | 2 +- site/theme/template/Content/ComponentDoc.jsx | 2 +- site/theme/template/Home/index.jsx | 2 +- site/theme/template/Layout/index.jsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/site/theme/template/Content/Article.jsx b/site/theme/template/Content/Article.jsx index 6e60eee51a..e296dcbd9a 100644 --- a/site/theme/template/Content/Article.jsx +++ b/site/theme/template/Content/Article.jsx @@ -81,7 +81,7 @@ class Article extends React.Component { return ( /* eslint-disable-next-line */
- + {helmetTitle && {helmetTitle}} {helmetTitle && } {metaDesc && } diff --git a/site/theme/template/Content/ComponentDoc.jsx b/site/theme/template/Content/ComponentDoc.jsx index e92a7f8c5e..4e407db9a5 100644 --- a/site/theme/template/Content/ComponentDoc.jsx +++ b/site/theme/template/Content/ComponentDoc.jsx @@ -111,7 +111,7 @@ class ComponentDoc extends React.Component { return (
- + {helmetTitle && {helmetTitle}} {helmetTitle && } {contentChild && } diff --git a/site/theme/template/Home/index.jsx b/site/theme/template/Home/index.jsx index 147fdfc0dc..592674441a 100644 --- a/site/theme/template/Home/index.jsx +++ b/site/theme/template/Home/index.jsx @@ -69,7 +69,7 @@ class Home extends React.Component { return ( <>