Add line breaks to description
This commit is contained in:
@@ -26,7 +26,12 @@ export function sluggy(object: {
|
||||
}) + '-';
|
||||
}
|
||||
|
||||
string += `${id}`;
|
||||
const stringId = `${id}`;
|
||||
// prevent '-' strings on weird Unicode names
|
||||
if (string.length === 1) {
|
||||
return stringId;
|
||||
}
|
||||
string += stringId;
|
||||
|
||||
return string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user