luciopaiva/markdown-toc

Doesn't work with UTF-8 encoding (with not Latin charters)

medvedev125 opened this issue · 2 comments

Doesn't work with UTF-8 encoding (with not Latin charters)

not reproduced

reproducing steps:

  1. Open https://luciopaiva.com/markdown-toc/

  2. Insert text:

# Заголовок 1 something важное
## Заголовок 1.1 something важное
# Заголовок 2 something важное
# Заголовок 3 something важное

Actual result:

# Table of contents

- [Заголовок 1 something важное](#-1-something-)
  - [Заголовок 1.1 something важное](#-11-something-)
- [Заголовок 2 something важное](#-2-something-)
- [Заголовок 3 something важное](#-3-something-)