diff --git a/modules/book.module b/modules/book.module index bee2643f09d..6900e52ca2b 100644 --- a/modules/book.module +++ b/modules/book.module @@ -480,11 +480,12 @@ function book_tree_recurse($nid, $depth, $children) { if ($depth > 0) { if ($children[$nid]) { foreach ($children[$nid] as $foo => $node) { - $output .= "
  • ". l($node->title, "node/view/$node->nid") ."
  • "; - + $output .= "
  • "; + $output .= l($node->title, "node/view/$node->nid"); if ($tree = book_tree_recurse($node->nid, $depth - 1, $children)) { $output .= ""; } + $output .= "
  • "; } } } @@ -756,4 +757,4 @@ function book_help() { \ No newline at end of file +?> diff --git a/modules/book/book.module b/modules/book/book.module index bee2643f09d..6900e52ca2b 100644 --- a/modules/book/book.module +++ b/modules/book/book.module @@ -480,11 +480,12 @@ function book_tree_recurse($nid, $depth, $children) { if ($depth > 0) { if ($children[$nid]) { foreach ($children[$nid] as $foo => $node) { - $output .= "
  • ". l($node->title, "node/view/$node->nid") ."
  • "; - + $output .= "
  • "; + $output .= l($node->title, "node/view/$node->nid"); if ($tree = book_tree_recurse($node->nid, $depth - 1, $children)) { $output .= ""; } + $output .= "
  • "; } } } @@ -756,4 +757,4 @@ function book_help() { \ No newline at end of file +?>