Search code examples
tumblr

how do you escape output with custom TUMBLR html themes


background: i am using javascript templates, which i would like to output raw, without tumblr replacing code matching their api variables

example: i would like to literally output {Title} in the html, this is normally replaced by tumblr's html api as it is an api keyword, but usually templating systems have a raw/escape/unescape block functionality. This is not documented, but a lot of their functionality isn't either, such as the {host} tag.


Solution

  • ok so i found one way of doing it, exploiting the fact that tumblr does not support spaces in it's variable declarations: { title } does not get replaced, {title} does