866bef8059
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`. |
||
---|---|---|
.. | ||
blobs | ||
ci | ||
clusters | ||
conversational_development_index | ||
projects/settings | ||
award_emoji_presenter_spec.rb | ||
blob_presenter_spec.rb | ||
clusterable_presenter_spec.rb | ||
commit_presenter_spec.rb | ||
commit_status_presenter_spec.rb | ||
group_clusterable_presenter_spec.rb | ||
group_member_presenter_spec.rb | ||
issue_presenter_spec.rb | ||
label_presenter_spec.rb | ||
merge_request_presenter_spec.rb | ||
project_clusterable_presenter_spec.rb | ||
project_member_presenter_spec.rb | ||
project_presenter_spec.rb | ||
tree_entry_presenter_spec.rb |