constipation moment
This commit is contained in:
parent
e1122fb6b9
commit
a4be74cae3
1 changed files with 1 additions and 1 deletions
|
@ -687,7 +687,7 @@ const MszVideoEmbedPlaceholder = function(metadata, options) {
|
|||
});
|
||||
|
||||
if(metadata.description) {
|
||||
const firstLine = metadata.description.split("\n")[0].trim();
|
||||
let firstLine = metadata.description.split("\n")[0].trim();
|
||||
if(firstLine.length > 300)
|
||||
firstLine = firstLine.substring(0, 300).trim() + '...';
|
||||
|
||||
|
|
Loading…
Reference in a new issue