Page MenuHomePhabricator

CodeReview loses space at the beginning of the comment
Closed, ResolvedPublic

Description

It's been messing up many of my comments by showing the preformatted text as plain text in the first line. Interestingly this does not show up in preview.


Version: unspecified
Severity: normal

Details

Reference
bz26619

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:15 PM
bzimport set Reference to bz26619.
bzimport added a subscriber: Unknown Object (MLST).

I've got a feeling I added this for some request before...

Will have a look later...

bug 25101 and r72626

/me shrugs

Switching from trim() to rtrim() should do it -- it's save to remove trailing whitespace, but leading whitespace is syntactically significant.

r79844

Also rtrim comment previews in that revision also (so preview and saving comments has the same affect