jakesankey / git-history

View previous versions of any file known to git.
https://atom.io/packages/git-history
MIT License
28 stars 10 forks source link

Sanitize commit messages #12

Closed silvenon closed 9 years ago

silvenon commented 9 years ago

I cherry-picked the existing fix, to respect authorship.

I think #11 broke the plugin for most people, so it's probably best to pull this and make a patch release, unless someone has a better solution.

Aside from double quotes, I think stuff like } can also screw up parsing, so instead of going through all those edge-cases maybe it's better to simply use the sanitized version?