vConsole
vConsole copied to clipboard
fix: escape quotemarks in Tree (and JSON copied)
BUG: when logging an object in which strings includes quotemark, for eg.
console.log({ a: 'asdfdsa"as\ndfdsf"df' })
displays & copies an invalid json: {"a": "asdfdsa"as\ndfdsf"df"}
The pull request proposes an attempt to fix that issue. It is changed to {"a": "asdfdsa\"as\ndfdsf\"df"}
Meanwhile, behavior logging a string should not be change:
console.log('asdfdsa"as\ndfdsf"df')
displays & copies
asdfdsa"as
dfdsf"df
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.