• Whenever I try to submit a post, WordPress cuts the post off after the first sentence. This isn’t the “read more” feature in action, it liteally just deletes everything past the first sentence. Even if you go back in and try to edit the same article, everything past the first sentence is gone.

    The odd thing is, when I post in code view it seems to work fine.

    Has anyone else run into this problem, and if so, how did you go about fixing it?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter gchet

    (@gchet)

    Actually, this isn’t even working in code view now.

    Is anyone else having this problem?

    We had the same problem. I am pretty sure that this is a hard-to-find but nasty bug.

    I spent a couple of hours debugging the other day and finally figured out what our problem was. When you double-space after a sentence, WordPress tries to save that formatting by inserting a non-breaking space character for that character set. In some (all but the default?) character sets, it doesn’t work and breaks.

    First of all, I would think that WordPress would put   in the html and let the browser handle it rather than using a specific character that could cause any number of problems like this.

    Second of all, even though it does use a weird character in a non-standard character set, WordPress’ database input filtering functions should be able to handle it, not choke and lose every character after one it doesn’t recognize.

    So for you:
    1) Is WordPress set up to use a character set other than the default?
    2) Do you double-space after each sentence?

    Ok, I seem to have just found a bug with this WordPress forum as well.

    I typed “ampersand-n-b-p-s-semicolon” and rather than escaping it (which would be “safe” and “correct”) it just printed out the html (a non-breaking space).

    More info on the issue. It appears (as expected) that not only non-breaking spaces, but most “special” characters cause problems. We have the same issue with the directional apostrophes as well.

    The forum doesn’t have a bug. It has instructions below how to post code: between ` [the thing on top left, where the tilde ~ is]

     

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Post gets truncated after first sentence when submitting’ is closed to new replies.