-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
CentOS 7.5.1804: Jenkins 2.263.1
Dear Team,
After upgrading Jenkins to the latest LTS version 2.263.1 the HTML put in job description, or build description is somehow processed server side and stuff is removed, like:
- "font" tags are removed completely
- IMPACT: lost all formatting (color, font size, font effects)
- workarround is to set the font as a style
- source: <li><font size="2" color="purple"> MESSAGE </font></li>
- rendered: <li> MESSAGE </li>
- solution: <li style="color:purple!important; font-size:20px"> MESSAGE </li>
- "title" attributes are removed from all tags
- IMPACT: no more tooltips on our tables
- No workaround
- source: <td title="TOOLTIP"> MESSAGE </td>
- rendered: <td> MESSAGE </td>
- "rowspan" / "colspan" attributes are removed from "td" and "th" tags
- IMPACT: pre-existent tables are now misaligned
- No workaround
- source: <th rowspan="2" colspan="3">Build</th>
- rendered: <th>Build</th>
[JENKINS-64507] HTML in job & build description has important elements removed
Attachment | Original: Jenkins_html_build_description_chrome_debug.JPG [ 53715 ] |
Attachment | New: Jenkins_html_build_description_chrome_debug.JPG [ 53720 ] |
Description |
Original:
Dear Team,
After upgrading Jenkins to the latest LTS version 2.263.1 the font colors are lost in html job build description. Anyone else faced the same issue ? |
New:
Dear Team,
After upgrading Jenkins to the latest LTS version 2.263.1 the HTML put in job description, or build description is somehow processed server side and stuff is removed, like: # *"font" tags are removed completely* ** IMPACT: lost all formatting (color, font size, font effects) ** workarround is to set the font as a style *** original: <li><font size="2" color="purple"> MESSAGE </font></li> *** displayed: <li> MESSAGE </li> *** solution: <li style="color:purple!important; font-size:20px"> MESSAGE </li> # *"title" attributes are removed from all tags* ** IMPACT: no more tooltips on our tables ** *No workaround* *** original: <td title="TOOLTIP"> MESSAGE </td> *** displayed: <td> MESSAGE </td> # *"rowspan" / "colspan" attributes are removed from "td" and "th" tags* ** IMPACT: pre-existent tables are now misaligned ** *No workaround* *** original: <th rowspan="2" colspan="3">Build</th> *** displayed: <th>Build</th> |
Description |
Original:
Dear Team,
After upgrading Jenkins to the latest LTS version 2.263.1 the HTML put in job description, or build description is somehow processed server side and stuff is removed, like: # *"font" tags are removed completely* ** IMPACT: lost all formatting (color, font size, font effects) ** workarround is to set the font as a style *** original: <li><font size="2" color="purple"> MESSAGE </font></li> *** displayed: <li> MESSAGE </li> *** solution: <li style="color:purple!important; font-size:20px"> MESSAGE </li> # *"title" attributes are removed from all tags* ** IMPACT: no more tooltips on our tables ** *No workaround* *** original: <td title="TOOLTIP"> MESSAGE </td> *** displayed: <td> MESSAGE </td> # *"rowspan" / "colspan" attributes are removed from "td" and "th" tags* ** IMPACT: pre-existent tables are now misaligned ** *No workaround* *** original: <th rowspan="2" colspan="3">Build</th> *** displayed: <th>Build</th> |
New:
Dear Team,
After upgrading Jenkins to the latest LTS version 2.263.1 the HTML put in job description, or build description is somehow processed server side and stuff is removed, like: # *"font" tags are removed completely* ** IMPACT: lost all formatting (color, font size, font effects) ** workarround is to set the font as a style *** source: <li>{color:#FF0000}<font size="2" color="purple">{color} MESSAGE {color:#FF0000}</font>{color}</li> *** rendered: <li> MESSAGE </li> *** solution: <li style="color:purple!important; font-size:20px"> MESSAGE </li> # *"title" attributes are removed from all tags* ** IMPACT: no more tooltips on our tables ** {color:#FF0000}*No workaround*{color} *** source: <td {color:#FF0000}title="TOOLTIP"{color}> MESSAGE </td> *** rendered: <td> MESSAGE </td> # *"rowspan" / "colspan" attributes are removed from "td" and "th" tags* ** IMPACT: pre-existent tables are now misaligned ** {color:#FF0000}*No workaround*{color} *** source: <th {color:#FF0000}rowspan="2" colspan="3"{color}>Build</th> *** rendered: <th>Build</th> |
Priority | Original: Minor [ 4 ] | New: Major [ 3 ] |
Summary | Original: Job build description not working for html font color tag | New: HTML in job & build description has important elements removed |
Link | New: This issue relates to JENKINS-60919 [ JENKINS-60919 ] |
Attachment | New: JENKINS-64507__html_rendering.png [ 53968 ] |
Resolution | New: Not A Defect [ 7 ] | |
Status | Original: Open [ 1 ] | New: Fixed but Unreleased [ 10203 ] |
Component/s | New: antisamy-markup-formatter-plugin [ 18424 ] | |
Component/s | Original: core [ 15593 ] |