Ftl rendering issue from electronic text

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Ftl rendering issue from electronic text

Vikram Varma Dantuluri
Hi,

I am trying to use electonic text as ftl.

For example in Cmssite there is a content with contentId "CMSS_DEC"  and
this content
is associated with contentId "CMSS_Demo_header" it contains the below
html content

<div id="header">
       <h1>This is the header!</h1>
 </div>

After rendering, classes, id's and other
attributes of the html contents are missing?
After inspecting the rendered code it looks like below
<div>
    <h1>This is the header!</h1>
 </div>

Is it an issue or am I missing something? Any pointers on where to check
would be very helpful

We are trying to render ftl from Screens as below:

<content content-id="CMSS_DEMO_HEADER"/>

Thanks
Regards,
Vikram
Reply | Threaded
Open this post in threaded view
|

Re: Ftl rendering issue from electronic text

Vikram Varma Dantuluri
Identified. Just have to change sanitizer.permissive.policy=true in
oswap.properties.

Regards
Vikram

On Thu, Jun 25, 2020 at 3:45 AM Vikram Varma Dantuluri <
[hidden email]> wrote:

> Hi,
>
> I am trying to use electonic text as ftl.
>
> For example in Cmssite there is a content with contentId "CMSS_DEC"  and
> this content
> is associated with contentId "CMSS_Demo_header" it contains the below
> html content
>
> <div id="header">
>        <h1>This is the header!</h1>
>  </div>
>
> After rendering, classes, id's and other
> attributes of the html contents are missing?
> After inspecting the rendered code it looks like below
> <div>
>     <h1>This is the header!</h1>
>  </div>
>
> Is it an issue or am I missing something? Any pointers on where to check
> would be very helpful
>
> We are trying to render ftl from Screens as below:
>
> <content content-id="CMSS_DEMO_HEADER"/>
>
> Thanks
> Regards,
> Vikram
>