Skip to content

Createsummary removes some html tags #18

@Spinus1

Description

@Spinus1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions