Logs for #nikola for 2025-01-19

20:33:46 <AlaricToo> Quick question ...  anyone know of a way to put a *non-breaking* space into reST content?  Using the HTML &#160; entity doesn't work, neither does pasting one in directly.
21:52:50 <ChrisWarrick> AlaricToo: perhaps you could use a substitution with raw html in it
21:52:52 <ChrisWarrick> AlaricToo: https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html#substitutions
21:53:30 <ChrisWarrick> AlaricToo: something like  .. |nbsp| raw:: html  \n             &nbsp;
21:57:39 <AlaricToo> Thank you, that's a capability I hadn't discovered yet
22:00:42 <ChrisWarrick> there’s one more, simpler option: put an actual non-breaking space U+00A0 in your input, that should be handled correctly by reST
22:02:23 <AlaricToo> I tried that and it got eaten, but I don't know at what point it got eaten
22:03:20 <AlaricToo> It may have been my editor (xnedit, which has ...  MOSTLY but not fully consistent Unicode support)
22:04:50 <ChrisWarrick> partial unicode support is unacceptable in 2025
22:05:07 <ChrisWarrick> you can check the file actually contains the correct bytes with something like xxd
22:06:36 <AlaricToo> yeah, I agree
22:07:59 <AlaricToo> unfortunately most of the newer editors that have *full* unicode support make my teeth bleed.  They tend to be overly helpful, and screw me up by doing things "for me" that I didn't actually want done in the first place.