Skip to content

Commit

Permalink
Closes request #33993: Pull request title should use the "raw" title (#…
Browse files Browse the repository at this point in the history
…393)

For most usages within (all at the moment?) the usage of the "raw" title
is preferable as we cannot render HTML. This contribution uses the "raw"
title for the existing `::getTitle()` method, if later on we also need
the HTML version another can be added.
  • Loading branch information
LeSuisse authored Oct 13, 2023
1 parent 64310e1 commit 2f92c53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class GitPullRequestEntity implements GitPullRequest {

public GitPullRequestEntity(
@JsonProperty("id") String id,
@JsonProperty("title") String title,
@JsonProperty("raw_title") String title,
@JsonProperty("repository") GitRepositoryReferenceEntity sourceRepository,
@JsonProperty("repository_dest") GitRepositoryReferenceEntity destinationRepository,
@JsonProperty("branch_src") String sourceBranch,
Expand Down

0 comments on commit 2f92c53

Please sign in to comment.