New line added when using context="html" in sightly
Hi All,
I am facing a really weird issue while trying to use context="html" in sightly.
I have a dialog property like this someproperty : "something<sub>2</sub>something"
HTML is <h1>${properties.someproperty @ context='html'}</h1>
Now, when rendered it adds a new line after the sub html tag. So it comes out as :
something2
something
I have tried few tags other than the sub tag as well and its the same behaviour for them as well.
The same thing works fine with context='unsafe'.
This is for AEM6.2 SP1. I have no idea whats wrong here ?