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

Missing spaces in rendered HTML in 1.346

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None

      I see that there have been changes to HTML rendering in 1.346. This seems to have caused at least one regression: under Build Executor Status, I see for example

      BuildingNB-Core-Build #4033

      rather than the expected

      Building NB-Core-Build #4033

      I am guessing that this is the issue (lib/hudson/executors.jelly):

      ${%Building}
      <!-- XML... -->
      <a href="...">${...fullDisplayName}</a>&#160;<a href="$...">#${....number}</a>
      

      If you turn off ignorable whitespace processing, then no space appears between "Building" and the job name. Using a nbsp is not a good idea here for layout reasons, so perhaps

      ${%Building}&#32;
      

      is needed?

      There might be other places with the same regression - can the regression be fixed at its source (Stapler?) for better compatibility, especially with plugins?

            Unassigned Unassigned
            jglick Jesse Glick
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: