Skip to content

Fix trailing space issue with merge requests and issues. Fixes #2514

Fixes #2514 (closed) Strip whitespace from merge request and issue titles. Whitespace doesn't inherently cause problems for the title itself. However, in the event display we bold the title to show when it changes from x to y. This caused markdown to not display the event properly. See #2514 (closed) for an example of previous behavior.

Current behavior:

Screen_Shot_2015-10-08_at_3.16.18_PM

After proposed changes: (Since we strip whitespace I had to make an arbitrary change to the title to even generate an event. This is expected, though)

Screen_Shot_2015-10-08_at_3.17.28_PM

Merge request reports