Hiya Everyone,
I’m having problems adding a ’ sign to my twitter share text for my button, when I add the ’ symbol, the pop-up no longer works.
Best Regards,
Tim
niall
#2
Apply URL encoding to your passed parameters.
jane's puppy
becomes
jane%27s%20puppy
1 Like
Thank you! Do I need to replace all spacing with %20?
niall
#4
Yes, you should percent encode the space.
1 Like
Should this be the same with meta tags too?
niall
#6
Convert the special entities in a HTML attribute such as quotes, apostrophes, ampersands, and greater than or less than signs using their HTML entity equivalent.
Helper in PHP:
http://php.net/htmlspecialchars