Open GoogleCodeExporter opened 9 years ago
I update the html code to make it shorter, but forgot to change the image, here
is the new one.
Original comment by weicheng...@gmail.com
on 21 Jun 2013 at 7:19
Attachments:
What is the string you are appending in step 2?
Original comment by mikesamuel@gmail.com
on 26 Jun 2013 at 2:45
I am trying to append the content of <div class="parent">. I read the content
out with jQuery. The content preserved all the spaces among tags, except the
space before the first div. Is this a bug of jQuery .html() method? Also I just
found out that the result varies for IE10 and IE8/9. Same code on IE8/9 all
spaces and line feeds are gone. The appended content becomes single line. <div
class="child"><span class="subchild"></span></div>. Is there a way to manage
the carriage returns and spaces between tags during the prettify process? Maybe
the prettify process trim all spaces and line feeds firstly, then it insert
proper spaces tabs and line feeds between tags? Thank you!
Original comment by weicheng...@gmail.com
on 10 Jul 2013 at 2:48
Has this been sorted by any chance ?
Original comment by richiemc...@gmail.com
on 6 Jan 2014 at 10:26
I think it's a browser issue, rather than the prettifier. Thanks for your
attention.
Original comment by weicheng...@gmail.com
on 9 Mar 2014 at 5:33
Original issue reported on code.google.com by
weicheng...@gmail.com
on 21 Jun 2013 at 7:15Attachments: