Last modified: 2010-05-15 14:36:20 UTC
When you edit a section, the edit summary field is prefilled with this text:
/* Section title */
with a space at the end (!). This is so that you can easily add something after
When you preview, however, that space disappears, probably because the edit
summary is whitespace-trimmed. Maybe this should not be done until the edit is
Confirmed in REL1_4 and HEAD, the problem is this line:
$this->summary = trim( $request->getText( 'wpSummary' ) );
Which gets called on edit, preview and save, we might want to change it not to
be called on edit or to be only called on save.
Fixed in CVS HEAD for 1.5.
Moved the trim on the summary into the Revision initializer, so it's done on the save rather than in the UI.