[英]clean html white space and new lines
我如何清理双空格和换行符的html输出,但不使用php修改textarea和pre标签中的内容?
First of all, I would rather say : don't do this : 首先,我想说: 不要这样做 :
Still, if you really want to do that, you are probably looking for an HTML Minifier . 不过,如果您确实想要这样做,则可能正在寻找HTML Minifier 。
There are several tools that exist, to do that ; 有几种工具可以做到这一点; here are a couple of exemples :
这是几个例子:
{strip}
tag {strip}
标签的源代码
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.