-
Notifications
You must be signed in to change notification settings - Fork 8
Description
hello - this a question/request and what appears to be a bug.
I know that I can get Japanese kanji names into the sidebar menu by setting the url param in each page, making the first part of the url kanji. For example:
url: /Bousai/esolia-bousai-links/yields "Bousai" in the menu.url: /防災/esolia-bousai-links/yields "防災" in the menu.
In a Japanese context having 防災 makes more sense in the menu, but sometimes having kanji in an URL makes problems. The kanji get converted to entities sometimes, and this leads to too-long urls in some cases.
So my question is, is there a way to have menu.js pick up a kanji from somewhere to use in the sidebar display?
Secondly, what I think is a bug. When I set the url to kanji, like url: /防災/esolia-bousai-links/, the breadcrumbs break. Please see the two screenshots showing where breadcrumbs are working, and not working when the url contains kanji.
This has a "smell" of something needing to be sent to a filter to sanitize before doing the logic in breadcrumbs.vto.
