tag.php
public function isValue($compare)
    {
        $compare = trim($compare);
        if (trim($this->getValue()) == $compare) {
            return true;
        }

        return trim(strip_tags($this->getContent())) == $compare;
    }
public function isValue($compare)
    {
        $compare = trim($compare);
        if (trim($this->getValue()) == $compare) {
            return true;
        }

        return trim(strip_tags($this->getContent())) == $compare;
    }
Test to see if a value matches the option.

@param string $compare    Value to compare with.

@return bool           True if possible match.