Commits

Takayuki Shimizukawa  committed 314e50f

Fix uppercase word is not found in search when html_search_language='ja'. Closes #1111

  • Participants
  • Parent commits 2431020

Comments (0)

Files changed (2)

 Release 1.2 (in development)
 ============================
 
+* #1111: Fix uppercase word is not found in search when
+  html_search_language='ja'. Thanks to tomo saito.
+
 * The ``'fontpkg'`` item in :confval:`latex_elements` now defaults to ``''``
   when the :confval:`language` uses the Cyrillic script.
   Suggested by Dmitry Shachnev.

File sphinx/search/ja.py

 
     def word_filter(self, stemmed_word):
         return len(stemmed_word) > 1
+
+    def stem(self, word):
+        return word.lower()