jenkinsci / jenkinsci/branch-api-plugin

[JENKINS-74996] Description colum is not formatted as HTML when safeHTML is activated

Open
#795 2 comments 0 reactions 0 assignees View on GitHub
component:branch-api-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
39
Forks
154
PR merge metrics
No merged PRs in 30d

Description

Using the Gitea plugin to display a Gitea organization, the repository description is well escaped, but if it contains some HTML tags, the description is not formatted as HTML.

Expected: The description should be displayed as HTML if safeHTML is activated.

---
Originally reported by gwenaelg, imported from: Description colum is not formatted as HTML when safeHTML is activated


  • assignee: gwenaelg
  • status: In Progress
  • priority: Minor
  • component(s): branch-api-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 20251211-141027

Raw content of original issue

Using the Gitea plugin to display a Gitea organization, the repository description is well escaped, but if it contains some HTML tags, the description is not formatted as HTML.

Expected: The description should be displayed as HTML if safeHTML is activated.

environment

```
Jenkins v2.479.2

OWASP Markup formatter v162.v0e6ec0fcfcf6

Branch API v2.1200.v4b_a_3da_2eb_db_4

Gitea v220.v4618c82a_40fb_
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.