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

This commit is contained in:
Takayuki Shimizukawa 2013-02-24 21:29:56 +09:00
parent fffde7817d
commit ba3e404b7c
2 changed files with 6 additions and 0 deletions

View File

@ -1,6 +1,9 @@
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.

View File

@ -271,3 +271,6 @@ class SearchJapanese(SearchLanguage):
def word_filter(self, stemmed_word):
return len(stemmed_word) > 1
def stem(self, word):
return word.lower()