This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

start tags on new line

By: a guest on Jan 29th, 2013  |  syntax: None  |  size: 1.56 KB  |  views: 66  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. I had a plugin that when done forced the following to happen. The og:type was tacked on to the end of the comment noting the end of the code of the previous plugin. The Facebook debugger threw an error and said the og:type tag was missing.
  2.  
  3. <!-- End Of Script Generated By cforms --><meta property="og:type" content="article"/>
  4. <meta property="og:url" content="http://www.reviewgeek.net/2013/01/more-interesting-than-the-awards-themselves.html"/><meta property="og:title" content="More Interesting Than The Awards Themselves"/><meta property="og:description" content="Doug | Culture, Media, Movies, People, Reviews, Television"/><meta property="og:image" content="http://i18.photobucket.com/albums/b128/cadfile/reviewgeek/SAG%20Awards%202013/2013sagawardlogo_zps9d9e4197.png"/><link rel="author" href="https://plus.google.com/102045393403793038332/about"/>
  5.  
  6. I want this work this way all the time I want to force my function that adds the tags to always start on a new line:
  7.  
  8. <!-- End Of Script Generated By cforms -->
  9.  
  10. <meta property="og:type" content="article"/><meta property="og:url" content="http://www.reviewgeek.net/2013/01/more-interesting-than-the-awards-themselves.html"/><meta property="og:title" content="More Interesting Than The Awards Themselves"/><meta property="og:description" content="Doug | Culture, Media, Movies, People, Reviews, Television"/><meta property="og:image" content="http://i18.photobucket.com/albums/b128/cadfile/reviewgeek/SAG%20Awards%202013/2013sagawardlogo_zps9d9e4197.png"/><link rel="author" href="https://plus.google.com/102045393403793038332/about"/>
clone this paste RAW Paste Data