Some posts have ‘Continue Reading …’

They shouldn’t though. I couldn’t figure it out at all. Why should posts, mostly from the older pages, suddenly start showing the Continue Reading link. Here’s an example:

Continue reading

There are lots of posts like this. All in the later pages. I’ve checked the theme settings and it’s fine. The next obvious thing was the blocks or raw HTML itself to see if there was some sneakily embedded tag that was causing mischief. Nope. All looks fine.

I finally found the problem. White space in the excerpt widget. Easily resolved by deleting it. But why? How has this happened? And it looks like it’s always the same amount of whitespace. In the screenshot below you can see the highlighted whitespace just before deletion.

It’s annoying, and what’s also annoying, is whether it’s going to happen again. I’m wondering whether a recent update caused this but I can’t think why it should.

Mysterious whitespace appearing in the excerpt widget

By copying the whitespace and pasting it into vi, then saving and running od on it I get:

dougie@office:~$ od -c temp
0000000 \n \t \t \t \t \t \t \n
0000010

I’m not sure how meaningful that is, but if it’s accurate it looks like that, for whatever reason, lots of my posts have acquired a newline, 6 tabs, and a newline. I wonder why.

(Visited 13 times, 1 visits today)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.