I changed the html file, saved it, and then the server started to swear (I use Thymeleaf and Spring):
org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 19; An invalid XML character (Unicode: 0x0) was found in the element content of the document. Thank you for having some kind of experience in PHP, where there were similar problems and I immediately thought on the BOM and removed it from Notepad. Why does Idea do it at all? Previously, if you save this, it was not, now it is (did not change anything in the settings), that is, from this and that this problem appeared. How to remove it?