mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Added missing semicolon
no issue
This commit is contained in:
parent
8f935fe8ae
commit
23eb3e7c14
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ function ping(post) {
|
||||||
if (post.custom_excerpt) {
|
if (post.custom_excerpt) {
|
||||||
description = post.custom_excerpt;
|
description = post.custom_excerpt;
|
||||||
} else if (post.html) {
|
} else if (post.html) {
|
||||||
description = `${post.html.replace(/<[^>]+>/g, '').split('.').slice(0, 3).join('.')}.`
|
description = `${post.html.replace(/<[^>]+>/g, '').split('.').slice(0, 3).join('.')}.`;
|
||||||
} else {
|
} else {
|
||||||
description = null;
|
description = null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue