Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hexo版本为5.2.0的时候,花括号显示为字符串‘{’和‘&#125’ #61

Open
yuang01 opened this issue Dec 3, 2020 · 2 comments

Comments

@yuang01
Copy link

yuang01 commented Dec 3, 2020

No description provided.

@sdwh
Copy link

sdwh commented Dec 6, 2020

I got same problems. I just go to index.js to do some fix like below:

const map = {
  ''': '\'',
  '&': '&',
  '>': '>',
  '&lt;': '<',
  '&quot;': '"',
  '&#123;': '{',
  '&#125;': '}'
};

Then it works.

@ryanzhouff
Copy link

I got same problems. I just go to index.js to do some fix like below:

const map = {
  '&#39;': '\'',
  '&amp;': '&',
  '&gt;': '>',
  '&lt;': '<',
  '&quot;': '"',
  '&#123;': '{',
  '&#125;': '}'
};

Then it works.

PR will be welcomed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants