We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63e082d commit f40cb39Copy full SHA for f40cb39
src/handlers.js
@@ -1133,13 +1133,9 @@ const handlers = {
1133
// TODO do we need to handle weird unicode characters somehow?
1134
// str.replace(/\\u(\d{4})/g, (m, n) => String.fromCharCode(+n))
1135
1136
- let value = node.raw;
1137
- if (value) {
1138
- state.commands.push(c(value, node));
1139
- return;
1140
- }
1141
-
1142
- value = typeof node.value === 'string' ? quote(node.value, state.quote) : String(node.value);
+ const value =
+ node.raw ||
+ (typeof node.value === 'string' ? quote(node.value, state.quote) : String(node.value));
1143
1144
state.commands.push(c(value, node));
1145
},
0 commit comments