Using the code highlighting for posting an article on Habr, I found a small but unpleasant bug in the work of the HTML parser.
Look at a series of numbers: 0 1 2 3 4 5 6 7 8 9
The code that outputs them is as follows: <font color = "# 008000"> 0 </ font> <font color = "# 008000"> 1 </ font> <font color = "# 008000"> 2 </ font> ... <font color = "# 008000 "> 9 </ font> ')
Those. the font tag containing the number 0 is eaten by the parser (it is not in the DOM tree). If you add one more character there, then everything works fine - 00