escape tab in JSON send to telegram
This commit is contained in:
parent
2397f0d0b4
commit
834f5ba200
|
@ -445,7 +445,7 @@ sendJsonResult(){
|
|||
# $1 string
|
||||
# output escaped string
|
||||
JsonEscape(){
|
||||
sed 's/\([-"`´,§$%&/(){}#@!?*.]\)/\\\1/g' <<< "$1"
|
||||
sed 's/\([-"`´,§$%&/(){}#@!?*.\t]\)/\\\1/g' <<< "$1"
|
||||
}
|
||||
|
||||
# convert common telegram entities to JSON
|
||||
|
|
Loading…
Reference in New Issue