mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-02-01 07:39:10 +00:00
fix: replace underscores from macro source tags with spaces
This allows macro source tags that contain underscores and category parentheses to be processed as intended (e.g. booru tags)
This commit is contained in:
@@ -1146,6 +1146,7 @@ class QtDriver(DriverMixin, QObject):
|
||||
for string in result.tag_strings:
|
||||
if not string.strip():
|
||||
continue
|
||||
string = string.replace("_", " ")
|
||||
base_and_parent = string.split("(")
|
||||
parent = ""
|
||||
base = base_and_parent[0].strip(" ")
|
||||
|
||||
Reference in New Issue
Block a user