diff --git a/code/model/SiteTree.php b/code/model/SiteTree.php
index bb74e6b7..5f27fd8a 100644
--- a/code/model/SiteTree.php
+++ b/code/model/SiteTree.php
@@ -1827,8 +1827,20 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid
);
$dependentTable->getConfig()->getComponentByType('GridFieldDataColumns')
->setFieldFormatting(array(
- 'Title' => '$Title',
- 'AbsoluteLink' => '$value',
+ 'Title' => function($value, &$item) {
+ return sprintf(
+ '%s',
+ (int)$item->ID,
+ Convert::raw2xml($item->Title)
+ );
+ },
+ 'AbsoluteLink' => function($value, &$item) {
+ return sprintf(
+ '%s',
+ Convert::raw2xml($value),
+ Convert::raw2xml($value)
+ );
+ }
));
}