Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2b6af73

Browse files
committed
fix(app): link in description to class
fix #1157
1 parent b7cabfb commit 2b6af73

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/app/engines/html-engine-helpers/parse-description.helper.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,10 @@ export class ParseDescriptionHelper implements IHtmlEngineHelper {
9898
label = split.linkText;
9999
}
100100

101-
if (resultInCompodoc.type === 'miscellaneous') {
101+
if (
102+
resultInCompodoc.type === 'miscellaneous' ||
103+
resultInCompodoc.type === 'classes'
104+
) {
102105
newLink = `<a href="${rootPath}${resultInCompodoc.type}/${pageName}.html${anchor}">${label}</a>`;
103106
} else {
104107
newLink = `<a href="${rootPath}${resultInCompodoc.type}s/${pageName}.html${anchor}">${label}</a>`;

0 commit comments

Comments
 (0)