Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ixley opened this issue Jul 15, 2016 · 2 comments

Comments

@ixley
Copy link

ixley commented Jul 15, 2016

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.

@bmuenzenmeyer
Copy link
Member

Fixed with 9c44844 - currently in dev

will close when this reaches master

@bmuenzenmeyer
Copy link
Member

should make #349 quite easy too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants