public function render(bool $trim = false): string
    {
        $this->output = '';

        foreach ($this->deltas as $i => $delta) {
            $this->output .= $delta->render();
        }

        if ($trim === false) {
            return $this->output;
        } else {
            return trim($this->output);
        }
    }