public function format_root_chunk($open, $name, $attrs) { $this->collectContent($attrs, $name, false); return parent::format_root_chunk($open, $name, $attrs); }