Poster Two: All variables are HTML escaped by default

All variables are HTML escaped by default. If you want to return unescaped HTML, use the triple mustache: {{{name}}} .

What does that mean?

If you have a string like

<div>String</div>

The two mustaches would print the html tags, where the three mustaches would would just display String

2 Likes

Ignore, sorted.

Thanks!

@Jannis

might be doing something wrong, but I can’t get dates or cats to appear. Custom meta is though.

Screen Shot 2020-10-31 at 12.25.59

Are these inside the template? First screenshot.

Yea, detail template. Its all rendering correctly, even custom meta, but no cat or date

Should work, please send me the project.

1 Like

Evening. It was my fault in the end, I had a bit of css to stop cat and tags being displayed.

Cheers.

1 Like