Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-59496

Render HTML in the Extended Choice Parameter Description field

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Jenkins 2.195
      Extended Choice Parameter Plugin 0.78

      Some Parameter types render HTML in the Description field.  Please make the Extended Choice Parameter Description field render HTML.

      An example (for a different plugin) is here:  https://issues.jenkins-ci.org/browse/JENKINS-45029

          [JENKINS-59496] Render HTML in the Extended Choice Parameter Description field

          Gregg Dameron added a comment -

          The Separator plugin suffered this same setback until recently. It was fixed in version 1.3, released August 2020. Please restore HTML descriptions here, too!

          Gregg Dameron added a comment - The Separator plugin suffered this same setback until recently. It was fixed in version 1.3, released August 2020. Please restore HTML descriptions here, too!

          Tim Black added a comment - - edited

          This is holding me back from using rich documentation in my Jenkins Build With Parameters page, like I do for ALL the other parameter types I use. I'm using the "Safe HTML" Markup Formatter provided by the antisamy-markup-formatter plugin.

          vimil, anyone have ideas on how to fix this?

          Tim Black added a comment - - edited This is holding me back from using rich documentation in my Jenkins Build With Parameters page, like I do for ALL the other parameter types I use. I'm using the "Safe HTML" Markup Formatter provided by the antisamy-markup-formatter plugin. vimil , anyone have ideas on how to fix this?

          Shawn Rahl added a comment -

          vimil 
          Is there any update on timing for this? It is one of the few plugins used very often that does not allow for HTML in the field descriptions. Please provide some kind of an update on this. I'm sure langtonben, timblaktu and gdameron would also appreciate some kind of update, as this was requested almost 3 years ago.

          Shawn Rahl added a comment - vimil   Is there any update on timing for this? It is one of the few plugins used very often that does not allow for HTML in the field descriptions. Please provide some kind of an update on this. I'm sure langtonben , timblaktu and gdameron would also appreciate some kind of update, as this was requested almost 3 years ago.

          Zaitcev Peter added a comment - - edited

          I've found that the root cause lies in the com/cwctravel/hudson/plugins/extended_choice_parameter/ExtendedChoiceParameterDefinition/index.jelly: in line 29, it uses `it.description` instead of `it.formattedDescription` like other plugins do.

          https://github.com/jenkinsci/extended-choice-parameter-plugin/blob/master/src/main/resources/com/cwctravel/hudson/plugins/extended_choice_parameter/ExtendedChoiceParameterDefinition/index.jelly#L29

          Zaitcev Peter added a comment - - edited I've found that the root cause lies in the com/cwctravel/hudson/plugins/extended_choice_parameter/ExtendedChoiceParameterDefinition/index.jelly: in line 29, it uses `it.description` instead of `it.formattedDescription` like other plugins do. https://github.com/jenkinsci/extended-choice-parameter-plugin/blob/master/src/main/resources/com/cwctravel/hudson/plugins/extended_choice_parameter/ExtendedChoiceParameterDefinition/index.jelly#L29

            vimil vimil
            langtonben Ben Langton
            Votes:
            8 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: