diff --git a/modules/doc/library/Doc/DocSection.php b/modules/doc/library/Doc/DocSection.php index 4121fd69e..a8efc6fc3 100644 --- a/modules/doc/library/Doc/DocSection.php +++ b/modules/doc/library/Doc/DocSection.php @@ -88,6 +88,14 @@ class DocSection extends TreeNode return $this->content; } + /** + * {@inheritdoc} + */ + public function setId($id) + { + return parent::setId(str_replace(' ', '-', (string) $id)); + } + /** * Set the header level *