"option = '" . $this->db->escape(json_encode($option)) . "'"
{% set text = ( key_value != 'address' ? 'value' : 'placeholder' ) ~ '=' ~ "'~value~'" %}
<div{{ (id?' id="'~id~'"')|raw }}>my div1</div>
{% set text = ( key_value != 'address' ? ('value="' ~ {{ value }} ~ '"') : '' ) %}
$text = ( $key_value != 'address' ) ? 'value="' . $value . '"' : '';
`option`
Возможно из-за этого ?