wp:paragraph adding nbsp | WordPress.org

Encountering a baffling issue since I’ve migrated my site from Jekyll to WordPress.

Using the latest version of WordPress and noticing that my content just “looks” really weird — words are wrapping in strange ways, some being cutoff, etc. At first I thought the theme was doing something funky with the CSS in terms of word-wrap, but it looked normal.

When I flipped from the visual editor to the code editor, I noticed that in EVERY single wp:paragraph block, there was a   added between each word. When I removed them manually and went to preview, the content appeared to be structured as I’d expect.

Where are these coming from and how can I disable them?

  • This topic was modified 2 days, 8 hours ago by eyuzwa. Reason: properly show nbsp
  • This topic was modified 2 days, 7 hours ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic

Source link