Closed cayennes closed 4 years ago
this doesn't seem like a difficult fix so i will try to submit a PR, but where did you get the bounds for this function? they don't seem to align with the SVGs, kanjivg has.
Those numbers come from the unicode values of the kanji range to differentiate kanji from other characters. You're right this is an easy fix; it just needs the conditional to check whether the string has kanji rather than whether it is a single character.
I've updated the description to specify what the actual desired behavior is.
(from an email)
Things like じゃ as the full content should have diagrams.
Desired behavior:
Bonus: