Closed GoogleCodeExporter closed 9 years ago
Btw, the given cleaned HTML is copy-pasted from the demo at
http://www.antix.co.uk/Content/Demos/jQuery-htmlClean/Test.htm
Original comment by taw.mole...@gmail.com
on 28 Jul 2011 at 1:23
Hi Taw
Yes that looks wrong to me too
I'm am pretty snowed under at the moment and won't be able to have a look for a
while
Is there any chance you can have a look yourself or hone it down to a simple
bit of HTML which is causing the issue?
Original comment by antixsof...@gmail.com
on 28 Jul 2011 at 9:04
I might, as soon as I'm 100% sure that I'm gonna need jquery-htmlClean in my
project. Needs more investigation. (The fact that it's 20K doesn't really help.)
Original comment by t...@timmolendijk.nl
on 12 Aug 2011 at 1:23
Hi Taw and Tim,
I've updated the code to pop the block level (non-inline) ones out of the
inline ones.
This prevents the p being removed and the library now makes a good stab at the
clean.
Its not perfect, but the html in the example is quite a mess and I think it
makes a good job.
@Tim thanks for the note on size, I think it could be smaller, and a re-write
might do it. But I am not going to do that any time soon. Compressed its only
12k and bundled compressed and gzipping would help further
All the best now.
Original comment by antixsof...@gmail.com
on 25 Feb 2013 at 3:22
Original issue reported on code.google.com by
taw.mole...@gmail.com
on 28 Jul 2011 at 1:22