protected function formatValue($value) { $value = is_string($value) ? \Latte\Runtime\Filters::escapeHtml($value) : $value; return $this->applyReplacement($value); }