Skip to content

Createsummary removes some html tags #18

Closed

Description

Hello I'm using createSummary with Jenkins pipeline. It seems that some html tags are remove even if I set
escapeHtml to false.

Example:
def mydetails="details..."
def html= "<details><summary>Summary</summary> <li>list item</li>"+mydetails+"</details>"
createSummary icon: 'orange-square.png', escapeHtml: false, text: html, id: "summaryID"

Output:
in pipeline summary page I can see that the <li>list item</li> is present, but html tags <details> and <summary> are removed.

BR,
Alessio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions