What is the problem you are trying to solve?
Display a Web Content Article in a Fragment using the Item Selector
When creating a custom fragment, it is possible to define an itemSelector in the configuration section:
If I select a Web Content article, I can also enable the enableSelectTemplate option.
For rendering, the documentation provides the following example:
<div class="fragment_name">
[#if configuration.itemSelector1.content??]
${configuration.itemSelector1.content}
[/#if]
</div>
Unfortunately, this does not return the rendered HTML output, but instead returns code like this:
<!--?xml version="1.0"?-->
<root available-locales="en_US" default-locale="en_US" version="1.0">
<dynamic-element field-reference="Fieldset55098902" index-type="" instance-id="zVA3G8FI" name="Fieldset55098902" type="fieldset">
<dynamic-element field-reference="Text94823488" index-type="keyword" instance-id="fKLEYeuS" name="Text94823488" type="text">
What is your project about? (e. g. Intranet, Partner Portal, Enterprise Website, etc)
Enterprise Website
What is your proposed solution? (optional)
ItemSelector shoud return the HTML rendered template not the XML structure