diff --git a/code/BlogTree.php b/code/BlogTree.php index 571190d..ab42af3 100644 --- a/code/BlogTree.php +++ b/code/BlogTree.php @@ -222,7 +222,7 @@ class BlogTree extends Page { class BlogURL { static function tag() { - if (Director::urlParam('Action') == 'tag') return Director::urlParam('ID'); + if (Director::urlParam('Action') == 'tag') return Convert::raw2xml(Director::urlParam('ID')); return ''; }