Japanese search is broken after v4.0.1
See original GitHub issueDescription
The Japanese/Chinese search is no longer working for mkdocs-material v4.0.2. But the behaviors are as expected for v4.0.1 and earlier versions.
I believe this unexpected behavior is related to the update of lunr-languages, or some DOM behavior changes of the search box. But I have not figured it out yet.
Expected behavior

Actual behavior

And strangely the hint is saying “Type to start searching”, not “No matching document”.
Steps to reproduce the bug
- Update your mkdocs-material to v4.0.2
- It starts to fail working as expected.
Package versions
- Python: 3.7.1
- MkDocs: 1.0.4
- Material: 4.0.2
Project configuration
theme:
name: 'material'
language: 'zh'
palette:
primary: 'red'
accent: 'red'
font:
text: "Roboto"
extra:
search:
language: 'en, jp'
System information
- OS: Deepin 15.9.1 Desktop x64
- Browser: Chrome 70.0.3538.77
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
Japanese bond yields continue to rise after Bank of Japan ...
The dollar gained 0.1 per cent against a basket of peers, with the renminbi declining 0.1 per cent to trade at Rmb6.969 and...
Read more >Unexplained Windows or software behavior may be caused ...
Describes behavior that may occur if your computer has deceptive software that is installed and running, and describes steps that you can take...
Read more >Changelog - Material for MkDocs - GitHub Pages
Deprecated prebuilding of search index; Improved graceful handling of broken search for file:// Added minimum Jinja version to list of requirements ...
Read more >iNEWS v4.0.1 ReadMe - Avid Technology
Version 4.0.1 ReadMe ... Note: Search the Avid Knowledge Base ... Note: Since this release of iNEWS will be more widely distributed than ......
Read more >macOS Ventura - Apple
You can even use Live Text to search for an image based on text inside it. New search design. Richer search results bring...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

It is not related to
python-markdown-matheither. I ran the original official docker with no math configuration and it is still not working. So the problem might be with some other markdown extensions.Diff of the extention configuration:
I’m afraid I was building mkdocs-material in an improper way. Some JS scripts are missing when running
mkdocs serve(see my comment above).Thank you so much for the bug fix, Martin. If you find it is working alright, just draft new release and I’ll check it out in the new release right away.