Skip to content

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

@jenkins-infra-bot

Description

@jenkins-infra-bot

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<br/>
OWASP Markup formatter v162.v0e6ec0fcfcf6<br/>
Branch API v2.1200.v4b_a_3da_2eb_db_4<br/>
Gitea v220.v4618c82a_40fb_

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions