The duplication is an odd interaction between how FFF treats list vs scalar(single) metadata entries with regard to replace_metata and how the method to get subject tags explicitly calls for lists.
Using ^ and $ anchors just means the regex doesn't match the 'Status - ' version when it comes by again.
This is a bug. Hopefully I'll be able to come up with a proper fix.
Yes, it's possible to change only the tags version by making a copy of status to modify and include in subject tags. In fact, if you'd done that first, I don't think this bug would have been revealed.
Search for include_in_ and add_to_extra_valid_entries if you don't want to wait while I'm bug hunting.
|