summaryrefslogtreecommitdiffstats
path: root/parser.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-05-29 07:26:19 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-05-29 07:26:19 -0700
commitb3a49b161a6192d4b8c574f0cd7f9b16567cd834 (patch)
tree34d2b8aae7c999630bf3dc46fad6e36d24897b53 /parser.c
parentc8f12ee44d226924b89cdd764b65a5f6a4030b81 (diff)
downloadtxr-b3a49b161a6192d4b8c574f0cd7f9b16567cd834.tar.gz
txr-b3a49b161a6192d4b8c574f0cd7f9b16567cd834.tar.bz2
txr-b3a49b161a6192d4b8c574f0cd7f9b16567cd834.zip
json: escape slash in </ sequence
* lib.c (out_json_str): When the < character is seen, if the lookahead character is /, output the < and a backslash to escape the /. * txr.1: Moved description of special JSON output handling under tojson, and described the above escaping there also.
Diffstat (limited to 'parser.c')
0 files changed, 0 insertions, 0 deletions