From e8c63ad45fceba208c837b01953fe1b4a6819ccc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 7 Feb 2025 11:31:56 +0100 Subject: [PATCH] docs(formats): changed webext behavior The comments are now stripped and the file can be parsed. Issue #2043 --- docs/formats/webextension.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/formats/webextension.rst b/docs/formats/webextension.rst index 7d06c9112f74..f1b8498ee643 100644 --- a/docs/formats/webextension.rst +++ b/docs/formats/webextension.rst @@ -7,9 +7,9 @@ File format used when translating extensions for Mozilla Firefox or Google Chrom .. note:: - While this format is called JSON, its specification allows to include - comments, which are not part of JSON specification. Weblate currently does - not support file with comments. + While this format is called JSON, its specification allows including + "//"-style comments. Weblate does strip these comments while parsing the + files and discards them when saving. .. seealso::