* @link https://getkirby.com * @copyright Bastian Allgeier * @license https://opensource.org/licenses/MIT * * // TODO: include in test coverage in 3.9 * @codeCoverageIgnore */ class NodeText extends NodeI18n { public function render(ModelWithContent $model): ?string { if ($text = parent::render($model)) { return $model->toSafeString($text); } return $text; } }