Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
www.nypost.com、facebook.com、www.bigpond.com など、いくつかのサイトのソース コードをランダムに選択しました。これらの 3 つの html ページを tidy (-m オプションを使用したコマンド ライン) への入力として提供したとき、DOC Type 宣言が削除され、ソース コードが変更されていることに気付きました。
そのようなことが起こった理由を誰でも特定できますか?それは Tidy のバグでしょうか。
設定可能のようです:
http://tidy.sourceforge.net/docs/quickref.html#doctype