[anonymous] wrote:
Hi there,
to my own testing both & # 160; and & nbsp; work.
However, these entities do not show up when you once again hit the HTML mode button, they are gone, invisible or something. Yet nbsp keeps working until you further edit the paragraph. Adding a single space after the nbsp’ed text is enough to revert the nbsp’s, no matter which method you used.
That’s weird. On my setup, the HTML non-breaking space ( ) code stays in place after saving the page. You can check it with DevTools turned on in Publii (with the DevTools parked at the bottom of the screen rather than the side). Then select the element to ‘zoom in’.
I’m using I guess what might be called a ‘standard setup’– that is: the current latest Publii v.0.38.3 (build 14238) under Apple macOS Monterey, v12.2.
So maybe there’s some issue with your setup.