Commit bfca99d
committed
fix: detect Hebrew by character content, not by testament
isHebrew was checking testament == 'Old', which applied RTL layout
+ ancientFontSize to ALL OT text — including English NKJV translation,
making it look broken. Now checks if the actual text contains Hebrew
Unicode characters (U+0590-05FF, U+FB1D-FB4F), so only real Hebrew
text gets RTL/appropriate sizing. English OT verses render normally.1 parent f3aae7e commit bfca99d
1 file changed
Lines changed: 2 additions & 1 deletion
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
352 | | - | |
| 352 | + | |
| 353 | + | |
353 | 354 | | |
354 | 355 | | |
355 | 356 | | |
| |||
0 commit comments