Special characters in yml file
In case you need characters like comma or single quote in your yml file:
For single quote, escape it with another single quote :-)
like so,
key: ain''t
For comma, use a double quote to surround the value
like so,
key: "gibberish, and some words"
Repeat the combinations as and where you want without running into string breaks
Written by Arindam Chakraborty
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#