If only public bookmarks are exported, there can be empty collections (Tags without bookmarks). Cause: Tags only used for private bookmarks. Solution: Check, if generateBookmarksHtml() returns empty string.