-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support .jenkins-table
css for addSummary
#220
Comments
On first look it seems that the |
thanks a lot @strangelookingnerd ! |
Digging a little deeper I can confirm above assumption. One way of working around that would be to use the https://plugins.jenkins.io/custom-markup-formatter/ and explicitly allow Another option would be to disable the markup formatter globally via https://plugins.jenkins.io/anything-goes-formatter/ which I would not really recommend. The third option is to disable markup formatting in the plugin which currently is not supported and I would rather keep it that way to prevent security issues further down the road. |
I was able to get formatted table using I have Markup Formatted set to |
What feature do you want to see added?
I'm trying to create a table with
.jenkins-table
css in build summary, by following the example in design-library/Table.Here is the sample Jenkinsfile:
However, seems the Jenkins trim the css from the HTML (

text: <..html..>
), and it looks as below:When I manually added the Jenkins official css in HTML, it works ( as below )
dark theme

light theme

I'd like to know how to enable the official table css
class="jenkins-table sortable jenkins-!-margin-bottom-0"
for table content ?By the way, I've noticed that the
addSummary
will consider the<table><thead>..</thead></table>
as a separated table, and the<thead>..</thead>
will be re-format into<tbody>..</tbody>
:Upstream changes
No response
Are you interested in contributing this feature?
No response
The text was updated successfully, but these errors were encountered: