I have a website in English and Japanese. English is displayed perfectly.
There are problems with hyphenation in Japanese. Sometimes hanging 1-2 characters remain on a new line.
I want to manage the hyphenation and put it where I need to.
I split the Japanese text into syllables. https://github.com/google/budou
I unite the syllables with a space \u200A.
(thin space)
Space selected so that it was the minimum width and was invisible.
I hope to get line breaks where this space is.
But line breaks is carried out not by spaces, but by width.
What can you think of for hyphenation management?
Text income from an API, I can’t just insert the <br>
tag