cucumber-attic / cucumber-html

Cross platform HTML formatter for all implementations of Cucumber
Other
40 stars 49 forks source link

Preserving whitespaces in description #29

Closed lenntt closed 6 years ago

lenntt commented 9 years ago
Feature: preserving whitespaces in HTML output
    As a user
    I would like to preserve white spaces in this text
    In order to have the output more similar to the .feature file

    Scenario: Running this feature (wow, meta)
      When I run this feature with HTML output
      Then the output should preserve the new lines in the description

As you may understand from the example and title, currently, the description of a feature or scenario does not preserve new lines, which makes the text, in my opinion, harder to read.