When I compile big (~2.8k lines) .Rmd document in HTML I discover that TOC don't work correctly. It sends me to same header from many lines of TOC.
I notice, that if add some english text to header - TOC begin works correct.
Here are two sample .Rmd files:
May be problem in encoding? If yes, then how to fix it?