Spacebars.SafeString does not parse HTML tag in placeholder


#1

Hello All,

I’m using Spacebars package for parsing HTML Tag.
here is my code return new Spacebars.SafeString("<span>Some HTML</span>")

I want to display this “Some HTML” in placeholder but it’s not working.
Does anyone have Idea about this?


#2

What does your template look like?

Where have you put your return new Spacebars.SafeString("<span>Some HTML</span>")?


#3

Unfortunately it’s working. do not know why :slight_smile: