grunt-git
grunt-git copied to clipboard
Gitlog fails when the subject or body includes quotation marks
When running the task it fails with the following error:
Warning: Log failed to match exepected pattern:
{
"hash": "60dc76bd83bfaf1a9380683369398863847d51e6",
"author": {
"name": "foo",
"email": "[email protected]"
},
"date": "Tue, 10 Feb 2015 10:12:42 +0100",
"subject": "Merge pull request #705 from io/joe/123",
"body": "Fixes boo "word" bar"
}
Is there any way to escape the values before parsing the json?