I have the following scenario:
1. Editor is configured to use p tags as a line-breaks
2. insert the following HTML:
3. switch to the design view and press enter after the item one node to add another list item
4. check the HTML
Result:
div tag is replaced with p one:
The browser is Internet Explorer 9
How can I make the editor not to replace div tag?
1. Editor is configured to use p tags as a line-breaks
2. insert the following HTML:
<div style="border-bottom: #ccc 1px solid; padding-bottom: 5px; background-color: #f7fafb; padding-left: 15px; padding-right: 10px; border-top: #ccc 1px solid; padding-top: 0px;"> <h5>On this page</h5> <ul> <li>item one</li> </ul> </div> 4. check the HTML
Result:
div tag is replaced with p one:
<p style="border-bottom: #ccc 1px solid; padding-bottom: 5px; background-color: #f7fafb; padding-left: 15px; padding-right: 10px; border-top: #ccc 1px solid; padding-top: 0px;"> <h5>On this page</h5> <ul> <li>item one</li> <li></li> </ul> </p>How can I make the editor not to replace div tag?
