dotnetprofessional / LiveDoc

A Living Documentation platform for BDD (Gherkin) specifications.
MIT License
9 stars 2 forks source link

docString incorrectly formats contents #13

Closed dotnetprofessional closed 7 years ago

dotnetprofessional commented 7 years ago

Currently the docString will left justify all content, however it should only remove spacing to the left of the first """.

Code

and(`the property should have the following items
    """
    [
        {"prop1":"value1","prop2":"value2"}
    ]
    """

`, () => {});

Actual

[
{"prop1":"value1","prop2":"value2"}
]

Expected

[
    {"prop1":"value1","prop2":"value2"}
]
dotnetprofessional commented 7 years ago

Fixed for next release v0.3.0