Opened 8 years ago

Closed 8 years ago

#2103 closed defect (bug) (fixed)

Codexify strips spaces in titles

Reported by: ocean90's profile ocean90 Owned by: jmdodd's profile jmdodd
Milestone: Priority: normal
Component: Support Forums Keywords: has-patch commit



It appears the forum’s double bracket Codex link shortcut is stripping spaces instead of replacing with underscores. When I do [[Hardening WordPress]] the link becomes which is missing the underscore that used to be inserted for the space.

Input: [[Hardening WordPress]]
Actual output: <a href="" rel="nofollow">HardeningWordPress</a>
Expected output: <a href="" rel="nofollow">Hardening WordPress</a>


Attachments (1)

meta-2103.patch (1.3 KB) - added by SergeyBiryukov 8 years ago.

Download all attachments as: .zip

Change History (3)

#1 @SergeyBiryukov
8 years ago

  • Keywords has-patch commit added; needs-patch removed

#2 @jmdodd
8 years ago

  • Owner set to jmdodd
  • Resolution set to fixed
  • Status changed from new to closed

In 4175:

Support Forums: Replace spaces with underscores in Codex link shortcut.

Codex link shortcuts were incorrectly stripping spaces from the link and title rather than replacing them with an underscore.

Props SergeyBiryukov.
Fixes #2103.

Note: See TracTickets for help on using tickets.