ghprb icon indicating copy to clipboard operation
ghprb copied to clipboard

HTML in build description

Open feymartynov opened this issue 12 years ago • 14 comments

pr_names

Jenkins version: 1.557 Plugin version: 1.11.2

feymartynov avatar Apr 04 '14 00:04 feymartynov

Good to know I'm not the only one seeing this.

AshtonKem avatar Apr 07 '14 21:04 AshtonKem

As a workaround meanwhile I use Description Setter Plugin to get rid of this. But it changes description only for builds.

feymartynov avatar Apr 07 '14 23:04 feymartynov

Is there some setting that disables HTML in descriptions? On the test versions I use the HTML is rendered as expected.

valdisrigdon avatar Apr 08 '14 01:04 valdisrigdon

I guess they just disabled it in new version: https://issues.jenkins-ci.org/browse/JENKINS-22028

feymartynov avatar Apr 08 '14 01:04 feymartynov

I'm also seeing this, for what it's worth.

bilderbuchi avatar Apr 13 '14 13:04 bilderbuchi

I'm not sure if there is a way for me to check if HTML rendering is enabled or not; I could add yet another option, but I dislike that approach.

valdisrigdon avatar May 05 '14 17:05 valdisrigdon

This might be related to the "message formatter" setting which was in the "Global Security" before the Jenkins 1.564 build.

gena01 avatar May 23 '14 17:05 gena01

+1 Still happening on jenkins v.1.582

dinoshauer avatar Sep 29 '14 06:09 dinoshauer

I fixed this on our CI by setting the markup formatter to 'safe html' in the global security settings

dinoshauer avatar Sep 30 '14 07:09 dinoshauer

Thanks @Dinoshauer! that setting solved it for me

m-mercuri avatar Nov 11 '14 16:11 m-mercuri

Thanks @Dinoshauer! I only did not have the "Safe HTML" option until I installed the OWASP Markup Formatter Plugin

byaminov avatar Nov 20 '14 13:11 byaminov

:+1: for @Dinoshauer solution.

pedrocarrico avatar Jan 12 '15 15:01 pedrocarrico

Unfortunately @Dinoshauer 's solution cannot be used on cloud bees

rahulsom avatar Jan 31 '15 16:01 rahulsom

Thanks! the Safe HTML option fixed it for me on the latest 1.34.4 version.

sonoble avatar Apr 22 '16 17:04 sonoble