gitlab-org--gitlab-foss/changelogs/unreleased/dm-trim-discussion-truncated-line-first-chars.yml
Douwe Maan 03df54b226
Trim first char of diff line text on diff discussions
Before, diff file `higlighted_diff_lines`/`parallel_diff_lines` and
diff discussion `truncated_diff_lines` were inconsistent: `text` and
`rich_text` on the latter included the leading +/-/<space> character,
like on the backend, while the former had no `text` and its `rich_text`
had dropped this char.

This resulted in a bug when the suggestions feature expected these diff
line objects to be identical in format and thus interchangeable, which
was not the case.
2019-01-22 17:00:16 +01:00

5 lines
144 B
YAML

---
title: Fix bug that caused Suggestion Markdown toolbar button to insert snippet with leading +/-/<space>
merge_request:
author:
type: fixed