Jade\Compiler\AttributesCompiler::escapeValueIfNeeded PHP Method

escapeValueIfNeeded() protected method

protected escapeValueIfNeeded ( $value, $escaped, $valueCheck )
    protected function escapeValueIfNeeded($value, $escaped, $valueCheck)
    {
        return is_null($valueCheck) && $escaped && !$this->keepNullAttributes ? $this->escapeValue($value) : $value;
    }