Constructing html inside ConstantString block?

Hello, I have a bit of a problem with creating html inside ConstantString block due to various compilation error exceptions. I guess the problem might be that html tags are the same format as OB2’s interpolated mode variable inputs (< span > and < input.USER >, for example).
When I put html in text mode, everything is fine.
So my question is, how to create html (in interpolated mode) inside of ConstantString block? Should I unescape html tags somehow? Or is it possible in LoliScript, but not in Stacker?

Solved by html encoding everything except my variables.

1 Like

Hey, the alternative would be to read the HTML from a file, and then replace your placeholders with the variables that you want.

1 Like