Skip to content

Instantly share code, notes, and snippets.

@soffes
Created March 11, 2014 21:19
Show Gist options
  • Select an option

  • Save soffes/9495304 to your computer and use it in GitHub Desktop.

Select an option

Save soffes/9495304 to your computer and use it in GitHub Desktop.
// Poof! http://www.hulu.com/watch/1201
NSShowAnimationEffect(NSAnimationEffectPoof, center, CGSizeZero, nil, nil, NULL);
@irace

irace commented Mar 11, 2014

Copy link
Copy Markdown

/*
Quote text can contain HTML, meaning we could have one that looks like this:

 <p>Normally, both your asses would be dead as fucking fried chicken, but you happen to pull this shit while I'm 
 in a transitional period so I don't wanna kill you, I wanna help you.</p>

 <p>But I can't give you this case, it don't belong to me. Besides, I've already been through too much shit this
 morning over this case to hand it over to your dumb ass.</p>

Here we can't simply append and prepend quotation marks, we need to do some trickery to find where the quotation
marks should be inserted so that they are inside the <p> tags and rendered properly.
*/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment