KeepSpace

自动将空格转换为特殊字符空格,防止HTML省略空格,特别适合中文内容编辑。

Author:cottboy (profile at wordpress.org)
WordPress version required:5.0
WordPress version tested:6.9
Plugin version:1.0.5
Added to WordPress repository:20-06-2025
Last updated:03-12-2025
Rating, %:0
Rated by:0
Plugin URI:
Total downloads:343
plugin download
Click to start download

WordPress by default omits consecutive spaces and leading/trailing spaces. KeepSpace can automatically convert regular spaces to special character spaces to prevent them from being omitted.

Main functions:

  • Automatically convert regular spaces into special-character spaces
  • Supports four independent toggles for title, excerpt, content, and comments
  • Provides three types of special space characters to choose from

Three types of special space characters:

  1. Non-breaking space (\u00A0) – Recommended

    • Same visual effect as  
    • Counts as only 1 character and does not affect excerpt truncation
  2. Chinese full-width space (\u3000)

    • In a Chinese environment, it’s very natural
    • The width is exactly one Chinese character
  3. HTML Entity Space ( )

    • Best compatibility, supported by all browsers
    • Counting 5 characters will affect the summary extraction

Screenshots
FAQ
ChangeLog