gitlab-org--gitlab-foss/changelogs/unreleased/57953-fix-unfolded-diff-suggestions.yml
Patrick Bajao 866bef8059 Fix suggestion on lines that are not part of an MR
Return the `text` as plain string in the response instead of
including HTML tags but keep `rich_text` as is.

The fix is to modify `Blob::UnfoldPresenter#diff_files` to map
each raw diff line (limited by the range specified) to a
corresponding line in an array of highlighted lines to use as
`rich_text`.
2019-07-22 13:25:24 +08:00

5 lines
103 B
YAML

---
title: Fix suggestion on lines that are not part of an MR
merge_request: 30606
author:
type: fixed