WordPress.org

Ready to get started?Download WordPress

Forums

Double-space in articles (17 posts)

  1. hpguru
    Member
    Posted 4 years ago #

    Would it be possible to get the articles to do the same as in the comments, ie, double-space automatically be replaced by a single space? Thank you.

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Unless your article text is justified, the normal browser default behaviour is to replace double spaces with a single space.

  3. hpguru
    Member
    Posted 4 years ago #

    I'm using Firefox 3.5.1 but i don't see double-space -> space, when i published article.

  4. esmi
    Forum Moderator
    Posted 4 years ago #

    Site url?

  5. hpguru
    Member
    Posted 4 years ago #

  6. esmi
    Forum Moderator
    Posted 4 years ago #

    Sorry but I can't see any double-spacing. Perhaps I'm just not looking in the right place. Can you point me towards a specific example?

  7. hpguru
    Member
    Posted 4 years ago #

    Check "sitten kolmas__sana". Found in home.

    __ = double-space here

  8. hpguru
    Member
    Posted 4 years ago #

    In IE same problem, when publishing post.

  9. It's not double spaced in FF 3.5.

  10. hpguru
    Member
    Posted 4 years ago #

    I delete double-space manually.

  11. The most logical answer then, is that you accidentally manually input the double-spaces.

  12. hpguru
    Member
    Posted 4 years ago #

    Yes, when i write fast. But in comments WordPress replace double-space with space. But not in article, when i published them...

  13. jasdonle
    Member
    Posted 4 years ago #

    I'd like to second this. I've got a contributor who always puts double spaces in between sentences. I'd like WP to remove them when the article is published and only have one space. I was hoping there'd be a plugin that did this, but I can't find anything.

    Any ideas?

  14. hpguru
    Member
    Posted 4 years ago #

    WordPress coder: please help or fix to WP 2.8.4?

  15. Josh Eaton
    Member
    Posted 4 years ago #

    Don't know if any of you are still having this issue or now, but I created a plugin that handles this: http://wordpress.org/extend/plugins/remove-double-space/

    I have the same situation where multiple contributors will use differing amounts of whitespace between sentences. This simple plugin will replace any duplicate whitespace with a single space.

    Let me know if this works for you, and if you run across any issues or new features you would like to see.

  16. hpguru
    Member
    Posted 4 years ago #

    One question... is this delete duplicate space from old posts too?

  17. hpguru
    Member
    Posted 4 years ago #

    Seems work good... Thank you. Very useful plugin, now i use it.

Topic Closed

This topic has been closed to new replies.

About this Topic