XF 2.0 Output HTML without prasing in Xenforo 2

Brent W

Well-known member
I want to store HTML code in a variable that is in another template and then include that template in another template. The code should not be parsed. How can I do this? In XF1, just including the variable worked but this does not appear to be the case anymore.
 
That doesn't appear to be working. It shows parsed html with that.
Oh, I misread your post and thought you were trying to parse it.

{$variable} should do it. What happens when you use that?
 
Back
Top Bottom