Skip to content

Pattern markdown files with no description text render raw text into description field #396

@ixley

Description

@ixley

I am using Pattern Lab Node v2.1.1 on Mac, with Node v6.3.0, using the Gulp Edition.

Expected Behavior

If there is a title but no description in the pattern markdown file, PL should not show a description.

Actual Behavior

When there is a title in the markdown file, but no description, and no additional line breaks after the --- delimiter, PL pulls the full text of the file and renders it in the description field.

Steps to Reproduce

Edit pattern markdown file to include


---
Title: Sample Title

---

with no following line breaks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions