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?

Was it helpful?

Solution

This is apparently a bug in Kivy. The above worked fine with the reST renderer I tried.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top