whoogle-search/app/utils
Ahmad Alkadri e5a5aad997
Always bold `CN`/`JA`/`KO` search terms (#928)
Add a function to check if target_word contains CJK characters

If a search term contains Chinese, Japanese, or Korean characters,
the term is bolded in search results regardless of whitespace.

CJK characters: Chinese, Japanese (hiragana, katakana, kanji), 
and Korean (hangul syllables, hangul jamo)

Co-authored-by: Ben Busby <contact@benbusby.com>
2023-01-09 12:54:41 -07:00
..
__init__.py Project refactor (#85) 2020-06-02 12:54:47 -06:00
bangs.py Fix handling of bangs (#851) 2022-09-30 14:39:13 -06:00
misc.py Allow different `true` values for config vars (#841) 2022-09-07 12:54:43 -06:00
results.py Always bold `CN`/`JA`/`KO` search terms (#928) 2023-01-09 12:54:41 -07:00
search.py Escape html text in result body (#912) 2022-12-29 15:19:28 -07:00
session.py Use app init enc key by default for all queries 2022-12-05 12:14:14 -07:00