diff --git a/3.0/modules/albumtree/views/albumtree_block_dtree.html.php b/3.0/modules/albumtree/views/albumtree_block_dtree.html.php index 10f6c264..02295962 100644 --- a/3.0/modules/albumtree/views/albumtree_block_dtree.html.php +++ b/3.0/modules/albumtree/views/albumtree_block_dtree.html.php @@ -398,7 +398,7 @@ albumTree.config.cookieDomain = ''; function addtree($album){ ?> -albumTree.add(= $album->id -1 ?>, = $album->parent_id -1 ?>, "= $album->title ?>", pf+'= $album->relative_url() ?>'); +albumTree.add(= $album->id -1 ?>, = $album->parent_id -1 ?>, "= html::purify($album->title) ?>", pf+'= $album->relative_url() ?>'); foreach ($album->viewable()->children(null, null, array(array("type", "=", "album"))) as $child){ addtree($child); diff --git a/3.0/modules/albumtree/views/albumtree_block_list.html.php b/3.0/modules/albumtree/views/albumtree_block_list.html.php index 58daf0ce..08ab3f04 100644 --- a/3.0/modules/albumtree/views/albumtree_block_list.html.php +++ b/3.0/modules/albumtree/views/albumtree_block_list.html.php @@ -15,7 +15,7 @@ function makelist($album,$level){ //print out the list item ?>