html tags from template not being rendered

2021-08-17 Thread enthus1ast
You could also have a look at nimja templates, they work quite similar, but look more like jinja or twig.

html tags from template not being rendered

2021-08-16 Thread Col
Found the problem (obvious now :). I have to remove the , toString = "xmltree.escape" Run from the filter definition. Just for clarity the template file filter now looks like: #? stdtmpl(subsChar = '$', metaChar = '#') Run

html tags from template not being rendered

2021-08-16 Thread Col
I am trying to render html output via templates but the html tags are being displayed as tags. I'm sure (hope) that I am just missing something obvious here. Here's a small complete sample which replicates the problem. main.nim import asyncdispatch, jester import templ8