Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

fix: Generate YAML safely by js-yaml#6

Open
nandenjin wants to merge 2 commits into
vuepress:masterfrom
nandenjin:fix/issue-5_template-escape-yaml
Open

fix: Generate YAML safely by js-yaml#6
nandenjin wants to merge 2 commits into
vuepress:masterfrom
nandenjin:fix/issue-5_template-escape-yaml

Conversation

@nandenjin
Copy link
Copy Markdown

@nandenjin nandenjin commented Sep 30, 2020

Fixes #5

Problem

Proposal

  • Use js-yaml to generate YAML safely
    • Inject safeDump() as toYAML() into EJS and use to generate YAML

I'm the very first developer for this repo so please tell me any problems with my code! I'll try to fix them immediately.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Template values in yaml must be escaped

1 participant