Closed ildar-ceo closed 9 months ago
%render this.renderField()
should generate:
$this->_t($__v0, $this->renderField());
And:
{{ this.item }}
$this->_t($__v0, $this->_escape($this->item));
А _escape функция должна однозначно экранировать:
/** * Escape html */ string _escape(var s) { if (rtl::isScalarValue(s)) return rs::htmlEscape(s); return ""; }
should generate:
And:
should generate: