awoo
Browse filesSigned-off-by: Balazs Horvath <[email protected]>
README.md
CHANGED
@@ -425,7 +425,7 @@ for image_filename in image_files:
|
|
425 |
|
426 |
# Escape unescaped parentheses in the tags
|
427 |
tags_to_write_escaped = [
|
428 |
-
re.sub(r"(?<!\\)(\()", r"\\\1", tag) for tag in tags_to_write
|
429 |
]
|
430 |
|
431 |
# Create a text file for each image with the filtered and escaped tags
|
|
|
425 |
|
426 |
# Escape unescaped parentheses in the tags
|
427 |
tags_to_write_escaped = [
|
428 |
+
re.sub(r"(?<!\\)(\(|\))", r"\\\1", tag) for tag in tags_to_write
|
429 |
]
|
430 |
|
431 |
# Create a text file for each image with the filtered and escaped tags
|