1.0.8-rc.4

This commit is contained in:
Talon Poole 2021-02-25 21:37:26 +00:00
parent 5fda4c14e0
commit 4c273b1543

View file

@ -129,7 +129,7 @@ export function head(tokens, options) {
const truncate = (text, limit) => const truncate = (text, limit) =>
text.length > limit ? `${text.substring(0, limit)}...` : text; text.length > limit ? `${text.substring(0, limit)}...` : text;
const heading = tokens.find(({ h1 }) => h1) const heading = tokens.find(({ h1 }) => h1);
const description = const description =
options.description > 0 options.description > 0
? tokens.find((token) => { ? tokens.find((token) => {