The source code of static files generated by hexo is indented and typeset confusedly.

the first picture is the generated html source code, and the second is the generated html file template file.
but the source code typesetting is normal in the template file. After generating html, the indentation of the source code is confused. The width of the table key is set to 2, and the generated Html source code is indented to 4. There are also extra blank lines on body, is there any way to solve it?


just don't use Tab, let the editor automatically convert Tab to spaces when editing template files. In fact, it's a good habit to convert Tab to spaces.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e3c740-26bf3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e3c740-26bf3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?