diff --git a/speech.js b/speech.js index 576d81c0..6b809beb 100644 --- a/speech.js +++ b/speech.js @@ -49,54 +49,54 @@ const hbs = expressHandlebars.create({ ); }, addOpenGraph (title, mimeType, showUrl, source) { - let basicTags = ` - - - `; + let basicTags = ` + + + `; if (mimeType === 'video/mp4') { return new Handlebars.SafeString( - `${basicTags} - - - - - - - ` + `${basicTags} + + + + + + + ` ); } else if (mimeType === 'image/gif') { return new Handlebars.SafeString( - `${basicTags} - - - - ` + `${basicTags} + + + + ` ); } else { return new Handlebars.SafeString( - `${basicTags} - - - - ` + `${basicTags} + + + + ` ); } }, addTwitterCard (mimeType, source, embedUrl, directFileUrl) { - let basicTwitterTags = ``; + let basicTwitterTags = ``; if (mimeType === 'video/mp4') { return new Handlebars.SafeString( - `${basicTwitterTags} + `${basicTwitterTags} - - - + + + + ` ); } else { return new Handlebars.SafeString( - `${basicTwitterTags} ` + `${basicTwitterTags} ` ); } },