Tauseef Mohiuddin eecf2c3d41
main : update escape_double_quotes() function (#776)
Updated the escape_double_quotes() function such that the function now escapes both double quotes and backslashes in the input string.

Changes Made:

- Renamed the function to escape_quotes_and_backslashes

- Modified the condition in the first loop to increment the value of 'escaped_length' for both double quotes and backslashes.

- Modified the condition in second loop to add a backslash before the current character if it is a double quote or a backslash.

Resolves: #769
2023-04-23 16:47:30 +03:00
..
2023-01-15 11:34:03 +02:00
2023-01-15 11:29:57 +02:00
2022-11-04 22:26:08 +02:00
2023-02-04 08:49:15 +02:00
2023-02-18 09:42:31 +02:00