开发者

HTML Tidy is removing the DOC type declaration

I had picked source code of some sites ramdomly like www.nypost.com, facebook.com , www.bigpond.com. When i had provided these three htmlpages as input to tidy (command line with -m option), what i had noticed is that its removing 开发者_C百科the DOC Type declaration and modifying the source code.

Can anyone specify why its happening like that, is it a bug in Tidy or so.


It appears to be configurable:

http://tidy.sourceforge.net/docs/quickref.html#doctype

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜