Macro Expansion hosed by BS Studio

Within a BS Studio page, I need to have the string <%= lcReturn2Page %> in the source code so I can expand it programmatically. BSStudio expands it to <%= lcReturn2Page %> - How can I prevent that? I need it to remain as <%= lcReturn2Page %>

When I try to add it in Bootstrap Studio like this:

    <p class="bodytext"><span style="color: rgb(0, 0, 0); background-color: transparent;"><%= lcReturn2Page %></span></p>

BS Studio expands it to:

    <p class="bodytext"><span style="color: rgb(0, 0, 0); background-color: transparent;">&lt;%= lcReturn2Page %&gt;</span></p>

I think the basic problem is that you’re trying to get BSS to emit invalid HTML.

You could try a Custom Code component.

You could try using CDATA, but then you’d need to remove the CDATA opening and closing markers somewhere.

You could try using an export script to manipulate your code from something BSS allows to what you want.