summaryrefslogtreecommitdiffstats
path: root/y.tab.c.shipped
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-06-03 06:29:10 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-06-03 06:29:10 -0700
commit4edb6eac41259a43a547772c4249ba2d6cc68106 (patch)
tree5ef739853974cf1f148f7733d0d734f0ced27d3e /y.tab.c.shipped
parent0f66ac2b5412eb432f165b680fb495f972f33917 (diff)
downloadtxr-4edb6eac41259a43a547772c4249ba2d6cc68106.tar.gz
txr-4edb6eac41259a43a547772c4249ba2d6cc68106.tar.bz2
txr-4edb6eac41259a43a547772c4249ba2d6cc68106.zip
json: improve escaping for script tags.
* lib.c (out_json_str): Strengthen the test for escaping the forward slash. It has to occur in the sequence </script rather than just </. Recognize <!-- and --> in the string, and encode them. * tests/010/json.tl: Cover this area with some tests. * txr.1: Documented.
Diffstat (limited to 'y.tab.c.shipped')
0 files changed, 0 insertions, 0 deletions