This is apparently a bug in Kivy. The above worked fine with the reST renderer I tried.
Non breaking spaces in RstDocument in Kivy
-
31-05-2022 - |
Question
Is there any chance to perform non breaking spaces in RstDocument?
I need move one letter words to next line if this word is on the end of line.
I tried define Substitution:
.. |nbsp| unicode:: 0xA0
:trim:
and then use it in text:
some text some text |nbsp| some text some text
but Kivy RstDocument render it as:
some text some text |nbsp| some text some text
Has anybody any suggestion?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow