xRM-Portals-Community-Edition icon indicating copy to clipboard operation
xRM-Portals-Community-Edition copied to clipboard

Web resources rendered as inline generate incorrect "literal" element

Open amervitz opened this issue 5 years ago • 0 comments

When using the render web resources as inline option on a web form step, the HTML is rendered inside a <literal>...</literal> element which isn't a valid HTML tag.

An example HTML file: image

A CRM form referencing the HTML web resource: image

The setting: image

The rendered HTML: image

The problematic code: https://github.com/Adoxio/xRM-Portals-Community-Edition/blob/77dc1fae0f46c18453dc253ab0060230c73d60cb/Framework/Adxstudio.Xrm/Web/UI/CrmEntityFormView/HtmlWebResourceControlTemplate.cs#L49

amervitz avatar Apr 04 '19 20:04 amervitz