protected function getAttributeDisplayCode($key, $value, $valueCheck)
{
if ($key === 'style') {
$value = preg_replace('/::get(Escaped|Unescaped)Value/', '::get$1Style', $value, 1);
}
return is_null($valueCheck) ? ' ' . $key . '=' . $this->quote . $value . $this->quote : $this->createCode('if (true === ($__value = %1$s)) { ', $valueCheck) . $this->getBooleanAttributeDisplayCode($key) . $this->createCode('} else if (\\Jade\\Compiler::isDisplayable($__value)) { ') . ' ' . $key . '=' . $this->quote . $value . $this->quote . $this->createCode('}');
}