in formula html how to escape characters
# ask-stanley-ai
v
in formula html how to escape characters
c
AI generated answer (using internal Slack threads):
In NetSuite's Advanced HTML/PDF templates, you can use the
?html
built-in to escape HTML special characters. For example,
${item.name?html}
. This will escape any HTML special characters in the
item.name
string. For escaping characters in a formula, you can use the
REPLACE
function. For example,
REPLACE(ns_concat({memberitem.name}), ',', '<br>')
will replace each comma in the concatenated member item names with a line break. If you need to include an apostrophe in a formula, you can escape it by using two single quotes. For example,
WHEN {name}='Prince''s'
. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.816760123
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.816511393
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.814625084
Please provide your feedback on this answer.