Hii,
I'am exploring the ofbiz cms plugin. 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> My Question is is after rendering why the classes , id's and other attributes of the html contents are removed? After inspecting the rendered code it looks like below <div> <h1>This is the header!</h1> </div> Thanks Madhi Krishnan |
Hi,
I have save problem. Are you able to resolve this issue or got any feedback. My take is that the issue is with rendering electronic text as ftl Regards, Vikram On Fri, Feb 14, 2020 at 4:58 PM Madhi Krishnan < [hidden email]> wrote: > Hii, > I'am exploring the ofbiz cms plugin. > 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> > > My Question is is after rendering why the classes , id's and other > attributes of the html contents are removed? > After inspecting the rendered code it looks like below > <div> > <h1>This is the header!</h1> > </div> > > Thanks > Madhi Krishnan > |
Identified. Just have to change sanitizer.permissive.policy=true in
oswap.properties. Regards Vikram On Thu, Jun 25, 2020 at 3:31 AM Vikram Varma Dantuluri < [hidden email]> wrote: > Hi, > > I have save problem. Are you able to resolve this issue or got any > feedback. My take is that the issue is with rendering electronic text as ftl > > Regards, > Vikram > > On Fri, Feb 14, 2020 at 4:58 PM Madhi Krishnan < > [hidden email]> wrote: > >> Hii, >> I'am exploring the ofbiz cms plugin. >> 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> >> >> My Question is is after rendering why the classes , id's and other >> attributes of the html contents are removed? >> After inspecting the rendered code it looks like below >> <div> >> <h1>This is the header!</h1> >> </div> >> >> Thanks >> Madhi Krishnan >> > |
Administrator
|
Thanks Vikram,
Hi Madhi, Sorry I did no answer to you, it escaped me. Jacques Le 25/06/2020 à 01:35, Vikram Varma Dantuluri a écrit : > Identified. Just have to change sanitizer.permissive.policy=true in > oswap.properties. > > Regards > Vikram > > On Thu, Jun 25, 2020 at 3:31 AM Vikram Varma Dantuluri < > [hidden email]> wrote: > >> Hi, >> >> I have save problem. Are you able to resolve this issue or got any >> feedback. My take is that the issue is with rendering electronic text as ftl >> >> Regards, >> Vikram >> >> On Fri, Feb 14, 2020 at 4:58 PM Madhi Krishnan < >> [hidden email]> wrote: >> >>> Hii, >>> I'am exploring the ofbiz cms plugin. >>> 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> >>> >>> My Question is is after rendering why the classes , id's and other >>> attributes of the html contents are removed? >>> After inspecting the rendered code it looks like below >>> <div> >>> <h1>This is the header!</h1> >>> </div> >>> >>> Thanks >>> Madhi Krishnan >>> |
Administrator
|
In reply to this post by Vikram Varma Dantuluri
Hi Vikram,
How did you got to this conclusion? I'd like to put a message in log to help, but maybe I already did? Thanks Jacques Le 25/06/2020 à 01:35, Vikram Varma Dantuluri a écrit : > Identified. Just have to change sanitizer.permissive.policy=true in > oswap.properties. > > Regards > Vikram > > On Thu, Jun 25, 2020 at 3:31 AM Vikram Varma Dantuluri < > [hidden email]> wrote: > >> Hi, >> >> I have save problem. Are you able to resolve this issue or got any >> feedback. My take is that the issue is with rendering electronic text as ftl >> >> Regards, >> Vikram >> >> On Fri, Feb 14, 2020 at 4:58 PM Madhi Krishnan < >> [hidden email]> wrote: >> >>> Hii, >>> I'am exploring the ofbiz cms plugin. >>> 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> >>> >>> My Question is is after rendering why the classes , id's and other >>> attributes of the html contents are removed? >>> After inspecting the rendered code it looks like below >>> <div> >>> <h1>This is the header!</h1> >>> </div> >>> >>> Thanks >>> Madhi Krishnan >>> |
Free forum by Nabble | Edit this page |