⬆️ ⬇️

Did you close the tag?

I work in a large project, 16 people, distributed work. Often there is a situation when, after the next update of the project, it turns out that a div is not at all where it is supposed to be. Napimer falls off the right column and despicably adapts to the main one. At once, attempts to find out the reasons for such incorrect behavior begin: CSS is viewed, FireBug prayers are offered. But in the end everything turns out to be in vain, because most likely someone just corny forgot to close the tag.



Sometimes this can be calculated by looking at all templates that have been changed over a period of time. But what is the viewing interval? Yesterday everything worked, today no. During this time, changes in dozens or even hundreds of files were uploaded. And begins a painstaking search.



But if there was a utility that could check for such situations.

I arm with Google and start a systematic search. An hour or two of surfing does not lead to any results. Of course, there are all sorts of online validators of the code, starting with the de facto W3C itself, but it is contagious, too clever and checks EVERYTHING, displays a lot of error and warning messages that often affect each other, and so that it is in the code to find the meanly hidden unclosed tag, you need to spend a lot of time and nerves.

')

And on this sad note of an unsolved problem I appeal to you, habra people. What tools do you use when you just need to find unclosed tags, but do not (for the time being) need to be distracted by all sorts of unspecified alt'y for images and other less critical errors?

Source: https://habr.com/ru/post/18977/



All Articles