diff --git a/code/model/SiteTree.php b/code/model/SiteTree.php
index e8f6b8cb..de0c3f69 100755
--- a/code/model/SiteTree.php
+++ b/code/model/SiteTree.php
@@ -2830,7 +2830,7 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid
}
$flags = $this->getStatusFlags();
$treeTitle = sprintf(
- "%s",
+ "%s",
Convert::raw2htmlid($this->class),
Convert::raw2att(Convert::raw2json($children)),
Convert::raw2xml(str_replace(array("\n","\r"),"",$this->MenuTitle))