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

j2html removes space before period in warning message

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • warnings-ng-plugin
    • None
    • Jenkins 2.249.2
      warnings-ng-plugin 8.4.4

      A job emitted this text as part of a warning:

      The symbol 'TextInfo.ListSeparator' is banned in this project: Defaults to NumberGroupSeparator on .NET Core except on Windows.

      However, the data table provided by warnings-ng-plugin in Jenkins does not display a space between "on" and ".NET":

      The symbol 'TextInfo.ListSeparator' is banned in this project: Defaults to NumberGroupSeparator on.NET Core except on Windows.

      After poking around with the script console, I believe the space character is lost in io.jenkins.plugins.analysis.core.model.DetailsTableModel.TableRow.formatDetails. It calls j2html.TagCreator.join, which is documented to remove spaces before periods and commas.

            drulli Ulli Hafner
            kon Kalle Niemitalo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: