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.
2 parents 4fae425 + 6926c06 commit 3177e73Copy full SHA for 3177e73
files/task_helper.sh
@@ -165,10 +165,10 @@ task-json-escape() {
165
# 6. Delete any remaining non-printable lines from the stream
166
sed -e 's/\\/\\/g' \
167
| { iconv -t ASCII --unicode-subst="\u%04x" || cat; } \
168
- | sed -e 's/"/\\"/' \
+ | sed -e 's/"/\\"/g' \
169
-e 's/\//\\\//g' \
170
- -e "s/$(printf '\b')/\\\b/" \
171
- -e "s/$(printf '\f')/\\\f/" \
+ -e "s/$(printf '\b')/\\\b/g" \
+ -e "s/$(printf '\f')/\\\f/g" \
172
-e 's/\r/\\r/g' \
173
-e 's/\t/\\t/g' \
174
-e "s/$(printf "\x1b")/\\\u001b/g" \
0 commit comments