It seems disabling of smart escaping doesn't work.
I'm using the following code:
Map<String, Object> map = new HashMap<String, Object>();
map.put("feature.smart_escape.enabled", false);
RythmEngine engine = new RythmEngine(map);
System.out.println(engine.conf().smartEscapeEnabled()); // false
String main = engine.render(".\\src\\main\\resources\\templates\\test.html", "Rythm", "line 1 <br> line 2");
Where test.html is simple html template.
Output contains: line1 & lt ; br & gt ; line 2
But I need the following output: .... line1 <br> line 2 ....
Is this is a bug? If no, please advice how to disable smart escaping. Maybe I need to configure some another parameters?
It seems disabling of smart escaping doesn't work.
I'm using the following code:
Where test.html is simple html template.
Output contains: line1 & lt ; br & gt ; line 2
But I need the following output: .... line1 <br> line 2 ....
Is this is a bug? If no, please advice how to disable smart escaping. Maybe I need to configure some another parameters?