Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

doc parser doesn't preserve newlines in examples and scenarios #162

@IgorMinar

Description

@IgorMinar

if two lines in an scenario code are separated by a just a new line without any space characters, the new line is not preserved in the docs app. If I add an extra space, to before the line break, the blank line is preserved.

Example:
@Scenario
it('should initialize the task list with for tasks', function() {
element('.doc-example ul li a:contains("X"):first').click();
expect(repeater('.doc-example ul li', 'task in tasks').count()).toBe(3);

   element('.doc-example ul li a:contains("X"):last').click();
   expect(repeater('.doc-example ul li', 'task in tasks').count()).toBe(2);

   expect(repeater('.doc-example ul li', 'task in tasks').column('task')).
     toEqual(['Read Documentation', 'Check out demos']);
 });

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions