We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 171b407 commit ad9748dCopy full SHA for ad9748d
plugins/document.require-by/index.ts
@@ -105,13 +105,12 @@ export default class RequireByPlugin extends Plugin implements PluginInterface {
105
'<a href="' + this.url(type) + '" title="' +
106
type.name + ' - ' + striptags(type.description).replace(/"/gi, '"') +
107
'">' +
108
- type.name + '<em>' + type.description + '</em>' +
+ type.name + '<em>' + (type.description || '') + '</em>' +
109
'</a>' +
110
'<li>';
111
}
112
113
getDocuments(buildForType?: string): DocumentSectionInterface[] {
114
-
115
if (!buildForType)
116
return [];
117
0 commit comments