Parser error
Using the code highlighting for posting an article on a hub, I found a small but unpleasant bug in the work of an HTML parser.
Look at a number of numbers:
0 1 2 3 4 5 6 7 8 9
The code that displays them is as follows:
0 1 2 ... 9
That is, the font tag containing the number 0 is eaten by the parser (it is not in the DOM tree). If you add another character there, then everything works fine - 00
Look at a number of numbers:
0 1 2 3 4 5 6 7 8 9
The code that displays them is as follows:
0 1 2 ... 9
That is, the font tag containing the number 0 is eaten by the parser (it is not in the DOM tree). If you add another character there, then everything works fine - 00