I'm trying to set shortcode attribute value to
' " (single and double quote) by using escaped values
[shortcode attr="' ""]test[/shortcode]
As soon as I switch to visual editor, they get converted back to
' " and shortcode is now broken.
How does one properly escape shortcode attributes so that they can work even after switching between visual and text editor?