Shorten long names when creating links

This commit is contained in:
Tim Schaub
2022-08-11 13:37:00 -06:00
committed by Tim Schaub
parent 0b326d9fa5
commit 9c0e2f35d1
6 changed files with 118 additions and 11 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ var typeSignature = '';
if (data.type && data.type.names) {
data.type.names.forEach(function (name) {
typeSignature += '<span class="type-signature type ' + name.toLowerCase() + '">{' + self.linkto(name, self.htmlsafe(name)) + '}</span> ';
typeSignature += '<span class="type-signature type ' + name.toLowerCase() + '">{' + self.linkto(name) + '}</span> ';
});
}
?>