Advertisement
Guest User

start tags on new line

a guest
Jan 29th, 2013
377
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  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"/>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement