Using Dynamic Content with EJS and <> tags

I’m trying to use dynamic content using ejs. In Elements that use “innerHTML”, Bootstrap Studio overwrites the < to < and > to > after Export.

In BSS:

After Export:

This is very annoying, because dynamic content generation only works explicitly with the < and > characters. Is there a solution for this?

I just answer the question by myself and share it with you. I didn’t found a solution for using < and > but another option. You can easily tell ejs to use custom delimeters.
So I use {{ instead of < and }} instead of >

const ejs = require("ejs")
ejs.openDelimiter = '{{';
ejs.closeDelimiter = '}}';
1 Like

Dynamic HTML websites are possible! - Tips and Tricks - Bootstrap Studio Forum

1 Like