Make WordPress Core

Opened 16 years ago

Closed 15 years ago

#13623 closed defect (bug) (fixed)

Minor problem with non-breaking space (title/permalink)

Reported by: NightAngel Owned by: ryan
Priority: low Milestone: 3.3
Component: Permalinks Version: 2.9.2
Severity: trivial Keywords: close
Cc: Focuses:

Description

Just a very minor problem when inserting a non-breaking space in the title.

In effect, "%C2%A0" appears in the permalink instead of a dash (like a "classical" space).

Keystroke for non-breaking space on Mac OS X : alt+space (I don't know the equivalent for Windows or others).

I know this is not very common but normally it must be a non-breaking space before certain punctuation : question mark, exclamation mark, etc.

Change History (5)

#1 @nacin
16 years ago

  • Keywords needs-patch added; permalink removed
  • Milestone 2.9.3 → 3.1

This isn't a regression so I am moving this out of 2.9.3, it's also too late for 3.0, so I am moving this to 3.1. needs-patch.

#2 @mattsains
16 years ago

On windows the keyboard shortcut is Alt+0160
When I try and create a post with an NBSP in the title, it gives me a permalink with some sort of space (I'm assuming an NBSP) like: ​http://localhost/wordpress/2010/06/17/foo bar/
Which works fine when I navigate to it.

I'm not sure why %C2%A0 appears, I can't make it do that

#3 @nacin
16 years ago

  • Milestone Awaiting Triage → Future Release

#4 @solarissmoke
16 years ago

  • Keywords close added; needs-patch removed

I get the same as mattsains, no urlencoded stuff. Looks to be fixed in trunk.

#5 @SergeyBiryukov
15 years ago

  • Milestone Future Release → 3.3
  • Resolution → fixed
  • Status new → closed
Note: See TracTickets for help on using tickets.