Support Article

Paragraph styles are not applied as expected in Email template

SA-31716

Summary



User is trying to display correspondence in a section using Rich Text Editor (RTE) control in read only control. However it is not displaying the content with expected styles.


Error Messages



Not applicable


Steps to Reproduce



 Create HTML rule and pass this HTML to correspondence runtime.


Root Cause



A software use or operation error : User has created the HTML as below:

At runtime, for table content and thanks text, paragraph style is not applied as expected. It is not recommended to include the table tag inside <p> tag in HTML. 
A p element's end tag may be omitted if the p element is immediately followed by an address, article, aside, blockquote, div, dl, fieldset, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, hr, main, nav, ol, p, pre, section, table, or ul, element, or if there is no more content in the parent element and the parent element is not an a element.


Resolution




User is suggested to split the content into smaller blocks and apply the styles to each block accordingly.

 

Published December 21, 2016 - Updated December 28, 2016

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.