Slightly script excluding html markup
Hi,
I have a core button component that gets the label with formatting eg <p>label<p> and possibly other rte formatting. I tried to write a scriptlet to use context variable html and assign it to a variable for use but in vain it still brings up the html tags
how do I exclude them?
when the <%= btn.label @2941342=‘html’ %> is written it works great but I want to assign to a variable since this will be based on a if else
thanks