Forked from
spnati / spnati
Source project has a limited visibility.
-
ReformCopyright authored
Add a hasTag method to Player, which calls canonicalizeTag, avoiding code duplication and allowing the tag representation to be changed. Also canonicalizeTag shoulnd't return ''. Either change on its own resolves a bug where <condition> elements without a filter attribute would never match, because we'd be looking for a blank tag.
ReformCopyright authoredAdd a hasTag method to Player, which calls canonicalizeTag, avoiding code duplication and allowing the tag representation to be changed. Also canonicalizeTag shoulnd't return ''. Either change on its own resolves a bug where <condition> elements without a filter attribute would never match, because we'd be looking for a blank tag.