Subject: | Default template engine has bugs with several vars on 1 line |
How to repeat:
1. Use default Dancer::Template::Simple.
2. Have this in template: "<% var1 %>/<% var1 %>".
3. Pass "xxx" as var1.
What to expect:
1. xxx/xxx
What is rendered:
1. xxx %>/xxx
Another one:
...
2. Have this in template: "<% var1 /<% var1 %>"
What to expect:
1. "<% var1 /xxx"
What is rendered:
1. "xxx/xxx"