rob-murray / jekyll-twitter-plugin

A Liquid tag plugin for the Jekyll blogging engine that embeds Tweets, Timelines and more from Twitter API
MIT License
238 stars 30 forks source link

strip newlines from twitter embed #35

Open rob-murray opened 6 years ago

rob-murray commented 6 years ago

See #31

Background on this is that Jekyll was choking on the newline when a tweet was included as part of a list item, causing the list to close early and leaving a dangling

The Twitter embed comes back with \n between the blockquote and the script. For whatever reason Jekyll hated this. ¯(ツ)