Advertisement
orksnork

Untitled

Jun 11th, 2015
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. <code>
  2. var link = '<a href="http://www.whatever.com">Stuff</a>';
  3.  
  4. package = {
  5. "description_html": link
  6. }
  7. </code>
  8.  
  9. It's currently having the problem using the above format for the link and will end up returning a blank link <a>Stuff</a>
  10.  
  11. I've tried double quotes as the outer quotes, and single quotes inside...
  12.  
  13. I've also tried href=\"http://www.whatever.com\" but it all comes back as <a>Stuff</a>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement