My web application produces HTML5 output as a concatenation of a variable number of views. The end result is a mess of indentation:
</div>
</div>
<div id="content">
<div id="question-header">
<h1>
I want to indent the code to obscure the origin of individual views and to make the output easier to follow.
I have looked into the Tidy PHP extension but all my attempts to make it work with HTML5 have produced improper indenting.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…