HTML Tidy有这种令人生气的习惯,即在结束标记之前添加换行符.例如:
<p>Some text</p>
变
<p>Some text </p>
如何告诉Tidy将结束标记保持在与内容结尾相同的行?
顺便说一句,我通过Notepad ++运行Tidy,如果这有任何区别的话.
html text text-formatting tidy htmltidy
html ×1
htmltidy ×1
text ×1
text-formatting ×1
tidy ×1