Skip to content
Snippets Groups Projects
Commit c8c9cf7d authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Remove quotes from twitter oembeds

parent c2d96d95
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,11 @@ Template.oembedUrlWidget.helpers
if not this.meta?
return
return this.meta.ogDescription or this.meta.twitterDescription or this.meta.description
description = this.meta.ogDescription or this.meta.twitterDescription or this.meta.description
if not description?
return
return description.replace /(^“)|(”$)/g, ''
title: ->
if not this.meta?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment