相关疑难解决方法(0)

如何让HTML Tidy在关闭标签之前不放置换行符?

HTML Tidy有这种令人生气的习惯,即结束标记之前添加换行符.例如:

<p>Some text</p>
Run Code Online (Sandbox Code Playgroud)

<p>Some text
</p>
Run Code Online (Sandbox Code Playgroud)

如何告诉Tidy将结束标记保持在与内容结尾相同的行?

顺便说一句,我通过Notepad ++运行Tidy,如果这有任何区别的话.

html text text-formatting tidy htmltidy

17
推荐指数
2
解决办法
6573
查看次数

标签 统计

html ×1

htmltidy ×1

text ×1

text-formatting ×1

tidy ×1