Skip to content

Commit 3c6e813

Browse files
committed
🐛 allow single quotes in insert values (compositions)
1 parent faebdee commit 3c6e813

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compositions/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ function insertIntoBegin(tab: string, cols: Composition, a='') {
583583

584584
function insertIntoMid(val: Record<string, string | number>, a='') {
585585
for (const k in val)
586-
a += `'${val[k]}', `;
586+
a += `$$${val[k]}$$, `;
587587
a = a.endsWith(', ')? a.substring(0, a.length-2) : a;
588588
a += `),\n(`;
589589
return a;

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nodef/ifct2017",
3-
"version": "1.3.12",
3+
"version": "1.3.13",
44
"license": "AGPL-3.0",
55
"exports": "./index.ts",
66
"publish": {

0 commit comments

Comments
 (0)