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

Failed to build when markdown body contains special chars #14

Closed
think-in-universe opened this issue Jun 3, 2019 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@think-in-universe
Copy link
Contributor

think-in-universe commented Jun 3, 2019

Description

Failed when building the markdown file: https://steemd.com/@oflyhigh/mfc-access

Failed due to line:

sConnect.Format(TEXT("ODBC;DRIVER={%s};DSN='';DBQ=%s;"), sDriver, sDBInfo);

Relevant issues

  1. Template render error: (unknown path) hexojs/hexo#2384
  2. Make Nunjucks in posts optional hexojs/hexo#1510
  3. Offer a way to skip tags plugin totally during editing hexojs/hexo#1755
  4. disable Nunjucks when the renderer spcify that hexojs/hexo#2593

Cause

 // disable Nunjucks when the renderer spcify that.
  const disableNunjucks = ext && ctx.render.renderer.get(ext) && !!ctx.render.renderer.get(ext).disableNunjucks;
@think-in-universe think-in-universe added the bug Something isn't working label Jun 3, 2019
@think-in-universe
Copy link
Contributor Author

think-in-universe commented Jun 4, 2019

Solution

Per the discussion in issue hexojs/hexo#1777, we need to implement a hexo renderer in order to disable tag plugins and nunjucks.

  1. Hexo Solutions => modify post content
  2. disable nunjucks in renderer

Following Up Actions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant