Discussions
How do you deal with quote marks (to indicate inches) in meta tags
I needed to add the following meta tag code to our templates...
<meta property="og:description" content="<%=getCurrentAttribute('item','storedescription)%>" />
It fails because most of our <storedescription> data contains quotes to indicate inches ...so it gets rendered like this...
<meta property="og:description" content="12"x12" Widget" />
All of the extra quotes make it bomb and show unwanted text in our web store.
I know I could find a workaround, but thought I'd take the shortcut in here and see if anyone already has a way of posting that replaces quotes with acceptable characters.