Prerequisites
Description
Code: https://github.com/elementor/elementor/blob/master/assets/lib/share-link/share-link.js
The whatsapp share link includes the title, but it does not get properly escaped. So if we have a post with let's say a quote in it (" or "), when we share it, whatsapp will cut it off starting at the ampersand, for obvious reasons.
Example:
https://api.whatsapp.com/send?text=*Lorem%20pisum%20"dolor%20sit"*%0Atext%0Ahttps://www.example.com
Maybe wrap the title in encodeURIComponent, as it should be?
Prerequisites
Description
Code: https://github.com/elementor/elementor/blob/master/assets/lib/share-link/share-link.js
The whatsapp share link includes the title, but it does not get properly escaped. So if we have a post with let's say a quote in it (" or
"), when we share it, whatsapp will cut it off starting at the ampersand, for obvious reasons.Example:
https://api.whatsapp.com/send?text=*Lorem%20pisum%20"dolor%20sit"*%0Atext%0Ahttps://www.example.comMaybe wrap the title in encodeURIComponent, as it should be?