diff --git a/lib/generator.js b/lib/generator.js
index <HASH>..<HASH> 100644
--- a/lib/generator.js
+++ b/lib/generator.js
@@ -193,7 +193,7 @@ function generateDoc(source, options) {
         'href':      url + '#L' + entry.getLineNumber(),
         'member':    member,
         'name':      entry.getName(),
-        'separator': getSeparator(entry)
+        'separator': member ? getSeparator(entry) : ''
       })
     );
Only use a separator if in the entry template if there is a member.