[Resolved] Links to YouTube videos causing trash output
Plugin version: 1.15.4
We were noticing that when we included links to YouTube videos in posts that a bunch of garbage was showing up in the header of the site where this plugin inserts its <meta/> tags. I tracked it down to what appears to have been an overly greedy regex. For example, when adding a link like this to a post:
The regex that was supposed to just be grabbing the video ID was instead grabbing “Q5mHPo2yDG8″>Pepsi MAX & Jeff Gordon”. The following patch seems to fix this:
- The topic ‘[Resolved] Links to YouTube videos causing trash output’ is closed to new replies.