The value of object properties when contain \
will be escaped
#10812
Unanswered
Quineone
asked this question in
Help/Questions
Replies: 1 comment
-
They are escaped when you print an object into the page, because in that case the object is converted to a JSON string, and that conversion escapes the backslash because it is followed by a quotation mark, and in Javascript strings, backslashes are used to escape quotation marks. So no, this is not a bug, this is how |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is this a bug?
https://play.vuejs.org/#eNqdU01PwzAM/StRLgWptNLgNJVJgHYAiQ8Bx1yq1usy2iRK0jKpyn/HSbvCEIyJS1X7Pfs9125Pr5RKuhbonGam0FxZYsC2asEEb5TUlvREwyrGR15Y3gFxZKVlQyIsiphgopDCYJHNLZBLzz3pmSCkAWPyCuYkQpY7/cacBerQ8Q/+CIy9owihLB2sokkMLDSqxp4YEZKpxf1YwM2c9P3ozDkST1Gy6+lclvpRmc24UK0l3VkjS6gvGd0jMkpQooC1rEvQiELJvTPMp8HEr8KzfeXZ0dIT81/aR6gc1z5Lp89LY2oN7mTFq2RjpMCTCZtjtJCN4jXoR2U57oxR9OARj+V1Ld/vQs7qFuJdvlhD8fZDfmO2PsfokwYDukMjE2ZzXYEd4OXLA2zxfQJxrrZG9gHwGYysW+9xoF23okTbX3jB7W04fC6qV7PcWhBmN5Q36pku8BnFX+DmwOifds+Ti1CHl03dB7+WK9c=
Beta Was this translation helpful? Give feedback.
All reactions