Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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.
0