I tried to use the samples with AEM 6.2. There is a problems with images. Something changed in AEM 6.2 so the way of rendering image markup is broken.
See this image:
The image tag is rendered as text instead of rendering it as an html element.
I know that the samples readme states support for AEM 6.0 SP1 and AEM 6.1. But I think it would be a good idea to have the samples working also on AEM 6.2
My setup is:
samples code at commit: https://github.com/wcm-io/wcm-io-samples/commit/903c1b891455a2e141d160c0484e8105ea5f1e2e
AEM 6.2.0 (fresh instance)
When I install the samples on AEM 6.1 I don't have this problem.
Images are rendered by
The context is not respected. Even when I change it to context='unsafe' it does not work. My solution is not to use data-sly-text and replacing said code line by:
The sightly/htl spec states:
The content of the data-sly-text attribute is automatically XSS-protected with the text context, unless stated otherwise:
This is also not working.
I am about to prepare a brach for a pull request.
thanks! - it's merged