Clientside HTML Minification
问题 Is there a way to this kind of minification with javascript and update the DOM (clientSide) Input: <div class="parentDiv"> <div class="childDiv">Some text</div> <div class="childDiv">Some text</div> </div> Output: <div class="parentDiv"><div class="childDiv">Some text</div><div class="childDiv">Some text</div></div> I know its useless doing the minification after downloading all the content. The point here is to stop the identation to create gaps between my divs. I know that if I put a