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

fix: Generate YAML safely by js-yaml #6

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nandenjin
Copy link

@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