When using Add Paragraph button in the HTML editor, if the
paragraph is inside a table cell, then we will create some <p> tag nested
within another <p> tag. HTML standard doesn't support <p> nested
inside another <p> tag.
Steps to reproduce,
1. Create a 1 cell table, add some text to the table cell in any HTML
2. Now select the text and click center align icon , increase the fornt,
change the font -> switch to HTML view and you will notice the <p
align> being added
3. Go back to the design view -> Click on the empty space between
aligned text -> click on "Enter" to go to next line > Click the Add
Paragraph icon twice -> You should have the nested <P> tag. I've put
the result HTML code in the comment section.
The datatags marked in yellow is nested inside datatag marked in red,
this should not be the case.
datatag is in IE
align=left> <SPAN style="FONT-FAMILY: 'Palatino Linotype', 'Book
Antiqua', Palatino, serif; FONT-SIZE: 16px">this is my final
The nested P tag is creating random issues in the past and it's creating junk
code under some circumstances. Can we fix this?