Uploaded image for project: 'JBehave'
  1. JBehave
  2. JBEHAVE-656

HTML decoration for parameter empty string puts a span between each char in the line

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5.4
    • Fix Version/s: 3.6
    • Component/s: Core
    • Labels:
      None

      Description

      When using a story step that has an empty parameter, when decoration the html output of the story, a span is put between each character, probably since a substring match or regex matches everywhere. This makes the text look kind of odd since the spacing between the char changes. If the parameter is empty, the coloring could just be skipped.

      When user enters "" and clicks link
      Then result "" shown

        Attachments

          Activity

            People

            • Assignee:
              maurotalevi Mauro Talevi
              Reporter:
              alexanderlehmann Alexander Lehmann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: