From db6e4ba72ea1cc7a7078100f0c0ee1ef2f2d3ad9 Mon Sep 17 00:00:00 2001 From: Kit Date: Mon, 8 Jan 2018 03:45:56 +0100 Subject: [PATCH] Update code example according to new changes --- website/usage/_adding-languages/_language-data.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/usage/_adding-languages/_language-data.jade b/website/usage/_adding-languages/_language-data.jade index 1b0ed241a..eedf343e6 100644 --- a/website/usage/_adding-languages/_language-data.jade +++ b/website/usage/_adding-languages/_language-data.jade @@ -394,7 +394,7 @@ p num, denom = text.split('/') if num.isdigit() and denom.isdigit(): return True - if text in _num_words: + if text.lower() in _num_words: return True return False