I am using web browser and want to clean inner html.....
here I attached two files of html before cleanup and after cleanup..
i did the coding for htmlcleanup but after clean up i got consecutive tags and want to replace with single p tag.
and i want, Enter will give line break instead of para break)
please give me the solution.. ???
Posted Feb 7, 2015, 7:51 AM
VulpesPosted Feb 4, 2015, 7:30 PM
http://www.c-sharpcorner.com/Forums/Thread/283956/
seems to be working OK when applied to the after_cleanup file:
However, some browsers (Google Chrome for instance) may automatically render multiple empty paragraph tabs as a single one.
Suraj SahooPosted Feb 4, 2015, 1:28 PM
I am not sure, but please try the below link
http://stackoverflow.com/questions/2057881/avoid-ie-contenteditable-element-to-create-paragraphs-on-enter-key
The discussion here may help you.
Thanks