In my project i am using HTMLEditor to have rich text formatting on client side. However i just came to know that when i do editor.getValue() to save HTML text into my database, the HTML text generated by Editor is not the correct one. Below is the sample for that:
This is for the bullet list test:<br><ol><li>test1</li><li>test2</li><li>test 3</li></ol><p><br></p>
Every time this is happening due to incorrect <br> tag. Ending tag for <br> is not getting generated by HTMLEditor. Please help!!!!
As you can see first <br> does not have closing element. Can someone please help me with this? How to fix it?