Skip to content

extensions-tool: Escape '\' and '"' in description

Koki Fukuda requested to merge kofuk/gnome-shell:extensions-tool-escape into master

If description contains \ and/or " in its description, extensions-tool generates invalid json like below:

{
  "name": "foo",
  "description": "foo "bar" baz",
  "uuid": "foobar@example.com",
  "shell-version": [
    "3.36"
  ]
}

This fixes that by escaping \ and ".

Edited by Koki Fukuda

Merge request reports