diff --git a/doc-src/lib/default.rb b/doc-src/lib/default.rb index 6ccf6887..4dde5876 100644 --- a/doc-src/lib/default.rb +++ b/doc-src/lib/default.rb @@ -84,7 +84,7 @@ def item_tree(item, options = {}) contents = unless options[:omit_self] item_opts = { :current_item => item, - :selected => item.identifier == @item.identifier, + :selected => !!@item.identifier[item.identifier], :crumb => item[:crumb] || item[:title] } if options[:heading_level]