fenom/docs/en/tags/ignore.md

594 B

Tag {ignore}

{ignore} tags allow a block of data to be taken literally. This is typically used around Javascript or stylesheet blocks where {curly braces} would interfere with the template delimiter syntax. Anything within {ignore}{/ignore} tags is not interpreted, but displayed as-is.

{ignore}
    var data = {"time": obj.ts};
{/ignore}

{ignore} tags are normally not necessary, as Fenom ignores delimiters that are surrounded by whitespace. Be sure your javascript and CSS curly braces are surrounded by whitespace:

var data = { "time": obj.ts };