1. Bitbucket
  2. Public Issue Tracker
  3. master
  4. Issues


Issue #2166 closed

wiki toc generates invalid links on non-latin only symbols (headings) (BB-487)

Mystic Artifact
created an issue

In wiki <<toc>> command generate links by use only latin symbols, it is wrong when we have headings which contains only non-latin symbols.

For example, for heading == Q1Заголовок == - it generates #Q1 link. But for heading == Заголовок == it generates empty (after '#' char) link.

PS: Sorry for my bad english.

Comments (7)

  1. Mehmet Catalbas

    Hi Dmitry,

    Our underlying wiki parser generates anchor slugs for headings which include a unicode normalization in the process, but just like in your example it might eliminate all characters thus making the anchor useless. The solution here is to use transliteration in the slug generation algorithm but I don't know if it's one of our top priorities ATM, so will leave this ticket on hold for now.

  2. Log in to comment