Markus Heiser
21a4622f23
[fix] utils.js_variable_to_python - partial revert of 156d1eb8c ( #5458 )
...
The JS string, whose encoding will be corrupted if all single quotes (followed
by a comma) are replaced with double quotes. Bug was introduced in PR #4573 .
Here is a simple example in which the list get corrupted::
>>> s = r"""[ 'foo\'', 'bar']"""
>>> print(s)
[ 'foo\'', 'bar']
>>> print(s.replace("',", "\","))
[ 'foo\'", 'bar']
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-11-20 18:32:27 +01:00
..
2025-09-03 13:37:36 +02:00
2025-09-03 13:37:36 +02:00
2025-10-30 07:40:20 +01:00
2025-09-18 19:40:03 +02:00
2025-11-20 13:48:13 +01:00
2025-10-08 13:47:22 +02:00
2025-09-03 13:37:36 +02:00
2025-09-18 19:40:03 +02:00
2025-09-26 12:35:57 +02:00
2025-10-01 07:13:10 +02:00
2025-10-20 10:18:33 +02:00
2025-11-06 10:09:10 +01:00
2025-11-07 10:48:05 +01:00
2025-10-30 07:39:48 +01:00
2025-10-31 08:27:05 +01:00
2025-11-06 10:09:10 +01:00
2025-09-26 12:35:57 +02:00
2025-05-31 20:34:59 +02:00
2025-10-10 16:14:29 +02:00
2025-10-08 13:47:22 +02:00
2025-08-09 23:03:30 +02:00
2025-10-05 11:44:13 +02:00
2025-09-18 19:40:03 +02:00
2025-09-03 13:37:36 +02:00
2024-03-11 14:55:38 +01:00
2025-08-10 13:05:40 +02:00
2025-09-03 13:37:36 +02:00
2025-08-09 23:03:30 +02:00
2025-09-03 13:37:36 +02:00
2025-09-03 13:37:36 +02:00
2025-09-26 12:35:57 +02:00
2025-09-03 13:37:36 +02:00
2025-10-01 07:13:10 +02:00
2025-09-26 12:35:57 +02:00
2025-10-10 16:14:29 +02:00
2025-09-03 13:37:36 +02:00
2025-11-15 07:38:17 +01:00
2025-09-28 07:32:41 +02:00
2025-04-23 14:06:32 +02:00
2025-11-20 18:32:27 +01:00
2025-09-03 13:37:36 +02:00
2025-07-09 07:55:37 +02:00
2025-09-03 13:37:36 +02:00
2025-11-01 09:46:47 +01:00
2025-09-03 13:37:36 +02:00
2025-11-06 10:09:10 +01:00
2025-10-01 07:13:10 +02:00
2025-09-03 13:37:36 +02:00